Access Control

Get list of the accessible Accounts and Tenants

Role Requirements

Not applicable

Description

Get a list of Accounts and Tenants the authenticating user has access to.

Request
header Parameters
Authorization
required
string

Bearer scheme in the format bearer {access_token}.

x-correlation-id
string

Correlation Id for the request.

Responses
200

OK - Returns the User Account and Tenants response.

401

Unauthorized

get/v2/identity/me
Request samples
Response samples
application/json
{
  • "identity": "string",
  • "accounts": [
    • {
      • "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
      • "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
      • "accountName": "string",
      • "roles": [
        • "string"
        ]
      }
    ],
  • "tenants": [
    • {
      • "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
      • "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
      • "accountName": "string",
      • "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
      • "tenantName": "string",
      • "roles": [
        • "string"
        ]
      }
    ]
}
Copyright 2024 Duck Creek Technologies. All Rights Reserved.