All URIs are relative to http://localhost/
| Method | HTTP request | Description |
|---|---|---|
| addExternalAccount | POST api/v2/azure_groups/{azure_group_id}/memberships.json_api | Add an External Account to an Azure Group |
| create | POST api/v2/azure_groups.json_api | Create a(n) Azure Group |
| delete | DELETE api/v2/azure_groups/{id}.json_api | Delete a(n) Azure Group |
| list | PUT api/v2/azure_groups.json_api | Get a list of Azure Groups |
| removeExternalAccount | DELETE api/v2/azure_groups/{azure_group_id}/memberships/{external_account_id}.json_api | Remove an External Account from an Azure Group |
| show | GET api/v2/azure_groups/{id}.json_api | Show a single Azure Group |
| update | PATCH api/v2/azure_groups/{id}.json_api | Update a(n) Azure Group |
ExternalAccount addExternalAccount(azureGroupId, externalAccountId, include)
Add an External Account to an Azure Group
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.AzureGroupsApi;
AzureGroupsApi apiInstance = new AzureGroupsApi();
Integer azureGroupId = 56; // Integer | The ID of the Azure group associated with this memberhsip
Integer externalAccountId = 56; // Integer | The ID of the External Account associated with this memberhsip
String include = "include_example"; // String | Related objects that can be included in the response: organization, sub_organization, team, scan_intervals, disabled_signatures, suppressions, azure_group See Including Objects for more information.
try {
ExternalAccount result = apiInstance.addExternalAccount(azureGroupId, externalAccountId, include);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AzureGroupsApi#addExternalAccount");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| azureGroupId | Integer | The ID of the Azure group associated with this memberhsip | |
| externalAccountId | Integer | The ID of the External Account associated with this memberhsip | |
| include | String | Related objects that can be included in the response: organization, sub_organization, team, scan_intervals, disabled_signatures, suppressions, azure_group See Including Objects for more information. | [optional] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
AzureGroup create(name, include)
Create a(n) Azure Group
The URL will only be returned once when the group is first created
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.AzureGroupsApi;
AzureGroupsApi apiInstance = new AzureGroupsApi();
String name = "name_example"; // String | Name
String include = "include_example"; // String | Related objects that can be included in the response: organization, external_accounts See Including Objects for more information.
try {
AzureGroup result = apiInstance.create(name, include);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AzureGroupsApi#create");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| name | String | Name | |
| include | String | Related objects that can be included in the response: organization, external_accounts See Including Objects for more information. | [optional] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
Meta delete(id)
Delete a(n) Azure Group
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.AzureGroupsApi;
AzureGroupsApi apiInstance = new AzureGroupsApi();
Integer id = 56; // Integer | Azure Group ID
try {
Meta result = apiInstance.delete(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AzureGroupsApi#delete");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Azure Group ID |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
PaginatedCollection list(include, filter, page)
Get a list of Azure Groups
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.AzureGroupsApi;
AzureGroupsApi apiInstance = new AzureGroupsApi();
String include = "include_example"; // String | Related objects that can be included in the response: organization, external_accounts See Including Objects for more information.
Map<String, String> filter = new HashMap(); // Map<String, String> | Filter Params for Searching. Equality Searchable Attributes: [id, name] Matching Searchable Attribute: [name] Sortable Attributes: [id, name] Searchable Associations: [organization, external_accounts] See Searching Lists for more information. See the filter parameter of the association's list action to see what attributes are searchable on each association. See Conditions on Relationships in Searching Lists for more information.
String page = "{:number=>1,+:size=>20}"; // String | Page Number and Page Size. Number is the page number of the collection to return, size is the number of items to return per page.
try {
PaginatedCollection result = apiInstance.list(include, filter, page);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AzureGroupsApi#list");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| include | String | Related objects that can be included in the response: organization, external_accounts See Including Objects for more information. | [optional] |
| filter | Map<String, String> | Filter Params for Searching. Equality Searchable Attributes: [id, name] Matching Searchable Attribute: [name] Sortable Attributes: [id, name] Searchable Associations: [organization, external_accounts] See Searching Lists for more information. See the filter parameter of the association's list action to see what attributes are searchable on each association. See Conditions on Relationships in Searching Lists for more information. | [optional] |
| page | String | Page Number and Page Size. Number is the page number of the collection to return, size is the number of items to return per page. | [optional] [default to {:number=>1,+:size=>20}] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
Meta removeExternalAccount(azureGroupId, externalAccountId)
Remove an External Account from an Azure Group
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.AzureGroupsApi;
AzureGroupsApi apiInstance = new AzureGroupsApi();
Integer azureGroupId = 56; // Integer | The ID of the Azure group associated with this memberhsip
Integer externalAccountId = 56; // Integer | The ID of the External Account associated with this memberhsip
try {
Meta result = apiInstance.removeExternalAccount(azureGroupId, externalAccountId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AzureGroupsApi#removeExternalAccount");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| azureGroupId | Integer | The ID of the Azure group associated with this memberhsip | |
| externalAccountId | Integer | The ID of the External Account associated with this memberhsip |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
AzureGroup show(id, include)
Show a single Azure Group
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.AzureGroupsApi;
AzureGroupsApi apiInstance = new AzureGroupsApi();
Integer id = 56; // Integer | Azure Group ID
String include = "include_example"; // String | Related objects that can be included in the response: organization, external_accounts See Including Objects for more information.
try {
AzureGroup result = apiInstance.show(id, include);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AzureGroupsApi#show");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Azure Group ID | |
| include | String | Related objects that can be included in the response: organization, external_accounts See Including Objects for more information. | [optional] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
AzureGroup update(id, include, name)
Update a(n) Azure Group
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.AzureGroupsApi;
AzureGroupsApi apiInstance = new AzureGroupsApi();
Integer id = 56; // Integer | Azure Group ID
String include = "include_example"; // String | Related objects that can be included in the response: organization, external_accounts See Including Objects for more information.
String name = "name_example"; // String | Name
try {
AzureGroup result = apiInstance.update(id, include, name);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AzureGroupsApi#update");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Azure Group ID | |
| include | String | Related objects that can be included in the response: organization, external_accounts See Including Objects for more information. | [optional] |
| name | String | Name | [optional] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json