Get Account Permissions
GET/v2/account/:account_id/permissions
Get permissions for an account.Requires accountOrg:config:view or account:config:view permissions and for user to share an org with the account
Request
Path Parameters
Account ID
Query Parameters
The ID of the Org for the account
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
account_permissions
object[]
required
Org ID to which the permission applies
Product ID to which the permission applies
Environment ID to which the permission applies
Sandbox ID to which the permission applies
Name of the org to which the permission applies
Name of the product to which the permission applies
Name of the environment to which the permission applies
Name of the sandbox to which the permission applies
Permission to be applied to the entity
ID of the account permission
group_permissions
object[]
required
ID of the permission group
Org ID to which the permission applies
Product ID to which the permission applies
Environment ID to which the permission applies
Sandbox ID to which the permission applies
Name of the org to which the permission applies
Name of the product to which the permission applies
Name of the environment to which the permission applies
Name of the sandbox to which the permission applies
Permission to be applied to the entity
Name of the permission group
{
"account_permissions": [
{
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"product_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"environment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"org_name": "string",
"product_name": "string",
"environment_name": "string",
"sandbox_name": "string",
"permission_id": "string",
"account_permission_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"group_permissions": [
{
"group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"product_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"environment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"org_name": "string",
"product_name": "string",
"environment_name": "string",
"sandbox_name": "string",
"permission_id": "string",
"group_name": "string"
}
]
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}