Get All Account Permissions For Assigned Org
GET/v1/account-permissions/:account_id/:assigned_org_id
Get all permissions assigned to an account for a specific org, requires accountPermissions:config:view permission
Request
Path Parameters
assigned_org_id anyrequired
Org ID or Short Name
account_id uuidrequired
Account ID
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
account_permission_id uuidrequired
Account permission id uniquely identifies this permission assignment
account_id uuidrequired
Account id this permission is assigned to
assigned_org_id uuidrequired
Organization that this permission belongs to
org_id uuid
product_id uuid
sandbox_id uuid
environment_id uuid
permission_id Permission Id (string)required
[
{
"account_permission_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"assigned_org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"product_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"environment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"permission_id": "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...