Get Service Account

Get Service Account

Retrieves a service account by identifier

Request
URI
GET
https://{api_host}/api/v2/account/serviceaccount/{id}
COPY
Path Parameters
string
id
Required

id


Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns ResponseContainerServiceAccount of type(s) application/json
{
    "status": {
        "result": "string",
        "message": "string",
        "code": 0
    },
    "response": {
        "unitedRoles": [
            "string"
        ],
        "unitedPermissions": [
            "string"
        ],
        "tokens": [
            {
                "tokenID": "string",
                "tokenName": "string",
                "account": "string",
                "accountType": "string",
                "lastUsed": 0,
                "dateGenerated": 0
            }
        ],
        "userGroups": [
            {
                "id": "04e5fd3a-c916-45aa-923c-2fa02e9eddac",
                "name": "string",
                "customer": "string",
                "users": [
                    "string"
                ],
                "userCount": 0,
                "properties": {
                    "nameEditable": false,
                    "usersEditable": false,
                    "rolesEditable": false
                },
                "description": "string",
                "roles": [
                    "RoleDTO Object"
                ]
            }
        ],
        "roles": [
            {
                "sampleLinkedGroups": [
                    "UserGroup Object"
                ],
                "linkedGroupsCount": 0,
                "sampleLinkedAccounts": [
                    "string"
                ],
                "linkedAccountsCount": 0,
                "restrictedPermissions": [
                    "string"
                ],
                "properties": {
                    "nameEditable": false,
                    "usersRemovable": false,
                    "usersAddable": false,
                    "permsEditable": false,
                    "deletable": false
                },
                "permissions": [
                    "string"
                ],
                "name": "string",
                "id": "string",
                "description": "string",
                "createdEpochMillis": 0,
                "lastUpdatedMs": 0,
                "lastUpdatedAccountId": "string",
                "customer": "string"
            }
        ],
        "active": false,
        "description": "string",
        "identifier": "string",
        "groups": [
            "string"
        ],
        "lastUsed": 0
    }
}
status
Required

status

response
Optional

response