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::
Request
Path Parameters
entity_level anyrequired
Entity Level
entity_id anyrequired
Entity ID or short name
Query Parameters
permission_ids string[]
List of permissions to check, account must have one of the permissions in the list
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
account_id uuidrequired
Account id
Auth0_account_Id Auth0 Account Id (string)
Possible values: non-empty and <= 50 characters
Auth0 user ID associated with this account
account_email Account Email (string)
Email address for this account
global_admin Global Admin (boolean)
Is this account a global admin
description Description (string)
Description for this account
[
{
"account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"Auth0_account_Id": "string",
"account_email": "string",
"global_admin": false,
"description": "string"
}
]
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...