Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

CONNECT data services developer documentation

Automation Identities

  • Last UpdatedJan 20, 2023
  • 4 minute read

APIs for automation identities.

List Automation Identities from a Tenant

Returns automation identity objects.

Request

GET /api/v1/Tenants/{tenantId}/AutomationIdentities
?tag={tag}&query={query}&skip={skip}&count={count}

Parameters

string tenantId
Tenant identifier

[optional] array tag
Only return automation identities that have at least one of these tags

[optional] string query
(not supported) Search string identifier

[optional] integer skip
Number of automation identities to skip. Ignored if a list of Ids is passed.

[optional] integer count
Maximum number of automation identities to return. Ignored if a list of Ids is passed.

Response

Status Code Body Type Description
200 AutomationIdentity[] List of automation identities found
401 ErrorResponse Unauthorized
403 ErrorResponse Forbidden
404 ErrorResponse Not found
500 ErrorResponse Internal server error

Example response body

200 Response (AutomationIdentity[])

[
  {
    "Id": "string",
    "Name": "string",
    "TenantId": "string",
    "RoleIds": [
      "string"
    ],
    "RoleTypeIds": [
      "string"
    ],
    "Tags": [
      "string"
    ]
  }
]

Authorization

Allowed for these roles:

  • Tenant Member

Get Total Count of Automation Identities from Tenant

Returns the total number of automation identities in tenant in the Total-Count header.

Request

HEAD /api/v1/Tenants/{tenantId}/AutomationIdentities
?tag={tag}

Parameters

string tenantId
Tenant identifier

[optional] array tag
Only count automation identities that have at least one of these tags.

Response

Status Code Body Type Description
200 None Number of automation identities in Total-Count header only
401 ErrorResponse Unauthorized
403 ErrorResponse Forbidden
404 ErrorResponse Automation identity or tenant not found
500 ErrorResponse Internal server error

Authorization

Allowed for these roles:

  • Tenant Member

Create an Automation Identity

Creates an automation identity. A non-administrator caller must have all roles being assigned to the new automation identity.

Request

POST /api/v1/Tenants/{tenantId}/AutomationIdentities

Parameters

string tenantId
Tenant identifier

Request Body

New automation identity object

{
  "Name": "string",
  "RoleIds": [
    "string"
  ],
  "Tags": [
    "string"
  ]
}

Response

Status Code Body Type Description
201 AutomationIdentity Automation identity created
400 ErrorResponse Bad Request
401 ErrorResponse Unauthorized
403 ErrorResponse Forbidden. A non-administrator caller must have all roles being assigned to the new automation identity.
404 ErrorResponse Not found
408 ErrorResponse Operation timed out
409 ErrorResponse Already exists
500 ErrorResponse Internal server error

Example response body

201 Response (AutomationIdentity)

{
  "Id": "string",
  "Name": "string",
  "TenantId": "string",
  "RoleIds": [
    "string"
  ],
  "RoleTypeIds": [
    "string"
  ],
  "Tags": [
    "string"
  ]
}

Authorization

Allowed for these roles:

  • Tenant Member

Get an Automation Identity

Returns automation identity object.

Request

GET /api/v1/Tenants/{tenantId}/AutomationIdentities/{automationIdentityId}

Parameters

string tenantId
Tenant identifier

string automationIdentityId
Automation identity unique identifier

Response

Status Code Body Type Description
200 AutomationIdentity Automation identity specified
401 ErrorResponse Unauthorized
403 ErrorResponse Forbidden
404 ErrorResponse Not found
500 ErrorResponse Internal server error

Example response body

200 Response (AutomationIdentity)

{
  "Id": "string",
  "Name": "string",
  "TenantId": "string",
  "RoleIds": [
    "string"
  ],
  "RoleTypeIds": [
    "string"
  ],
  "Tags": [
    "string"
  ]
}

Authorization

Allowed for these roles:

  • Tenant Member

Get Header for Automation Identity

Validates that an automation identity exists in tenant.

Request

HEAD /api/v1/Tenants/{tenantId}/AutomationIdentities/{automationIdentityId}

Parameters

string tenantId
Tenant identifier

string automationIdentityId
Automation identity unique identifier

Response

Status Code Body Type Description
200 None Ok if the automation identity exists
401 ErrorResponse Unauthorized
403 ErrorResponse Forbidden
404 ErrorResponse Automation identity or tenant not found
500 ErrorResponse Internal server error

Authorization

Allowed for these roles:

  • Tenant Member

Update Automation Identity

Updates an automation identity. A non-administrator caller must have all roles belonging to the existing automation identity, as well as any roles being added.

Request

PUT /api/v1/Tenants/{tenantId}/AutomationIdentities/{automationIdentityId}

Parameters

string tenantId
Tenant identifier

string automationIdentityId
Automation identity unique identifier

Request Body

Automation identity object. Properties that are not set or are null will not be changed.

{
  "Name": "string",
  "RoleIds": [
    "string"
  ],
  "Tags": [
    "string"
  ]
}

Response

Status Code Body Type Description
200 AutomationIdentity Updated automation identity
400 ErrorResponse Missing or invalid inputs
401 ErrorResponse Unauthorized
403 ErrorResponse Forbidden. A non-administrator caller must have all roles belonging to the existing automation identity, as well as any roles being added.
404 ErrorResponse Automation identity or tenant not found
408 ErrorResponse Operation timed out
500 ErrorResponse Internal server error

Example response body

200 Response (AutomationIdentity)

{
  "Id": "string",
  "Name": "string",
  "TenantId": "string",
  "RoleIds": [
    "string"
  ],
  "RoleTypeIds": [
    "string"
  ],
  "Tags": [
    "string"
  ]
}

Authorization

Allowed for these roles:

  • Tenant Member

Delete an Automation Identity

Deletes an automation identity. A non-administrator caller must have all roles belonging to the automation identity being deleted.

Request

DELETE /api/v1/Tenants/{tenantId}/AutomationIdentities/{automationIdentityId}

Parameters

string tenantId
Tenant identifier

string automationIdentityId
Automation identity unique identifier

Response

Status Code Body Type Description
204 None No content
401 ErrorResponse Unauthorized
403 ErrorResponse Forbidden. A non-administrator caller must have all roles belonging to the automation identity being deleted.
404 ErrorResponse Automation identity or tenant not found
408 ErrorResponse Operation timed out
500 ErrorResponse Internal server error

Authorization

Allowed for these roles:

  • Tenant Member

Definitions

AutomationIdentity

Automation identity.

Properties

Property Name Data Type Required Nullable Description
Id guid false false Automation identity unique identifier.
Name string false true Automation identity name.
TenantId guid false false Automation identity tenant unique identifier.
RoleIds string[] false true Role unique identifiers associated with this automation identity.
RoleTypeIds string[] false true Role type unique identifiers associated with this automation identity.
Tags string[] false true Tags associated with this automation identity.
{
  "Id": "string",
  "Name": "string",
  "TenantId": "string",
  "RoleIds": [
    "string"
  ],
  "RoleTypeIds": [
    "string"
  ],
  "Tags": [
    "string"
  ]
}


ErrorResponse

Object returned whenever there is an error

Properties

Property Name Data Type Required Nullable Description
OperationId string true false Operation identifier of action that caused the error
Error string true false Error description
Reason string true false Reason for the error
Resolution string true false Resolution to resolve the error
DynamicProperties object false true Additional properties
{
  "OperationId": "string",
  "Error": "string",
  "Reason": "string",
  "Resolution": "string",
  "DynamicProperties": {
    "property1": null,
    "property2": null
  },
  "property1": null,
  "property2": null
}


AutomationIdentityCreate

The model for creating an Automation Identity.

Properties

Property Name Data Type Required Nullable Description
Name string false true Automation identity name.
RoleIds string[] false true Role Ids associated with this automation identity.
Tags string[] false true Tags associated with this automation identity.
{
  "Name": "string",
  "RoleIds": [
    "string"
  ],
  "Tags": [
    "string"
  ]
}


AutomationIdentityUpdate

The model for updating an automation identity.

Properties

Property Name Data Type Required Nullable Description
Name string false true The automation identity name.
RoleIds string[] false true Role Ids associated with this automation identity.
Tags string[] false true Tags associated with this automation identity.
{
  "Name": "string",
  "RoleIds": [
    "string"
  ],
  "Tags": [
    "string"
  ]
}


In This Topic
TitleResults for “How to create a CRG?”Also Available in