Skip to content

Get All Accounts With Permission For Entity

GET
/v1/account/{entity_level}/{entity_id}

Get all Accounts that have at least one Permission for given Entity , requires globalAdmin::

Authorizations

Parameters

Path Parameters

entity_level
required

Entity Level

string
Allowed values: org product sandbox environment

Entity Level

entity_id
required
Any of:
string format: uuid

Entity ID or short name

Query Parameters

permission_ids

List of permissions to check, account must have one of the permissions in the list

Array<string>
default:

List of permissions to check, account must have one of the permissions in the list

Responses

200

Successful Response

Array<object>
object
account_id
required

Account id

string format: uuid
Auth0_account_Id
required

Auth0 user id which this account links to

string
>= 1 characters <= 50 characters
account_email
required

Email address for this account

string
global_admin

Is this account a global admin

boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string