Update Group Permissions
PUT/v2/group/:group_id/permissions
Update group permissions.Requires accountOrg:config:edit or account:config:edit permissions and for user to be in the same org as the group
Request
Path Parameters
group_id uuidrequired
Group ID
- application/json
Body
array
required
Array [
]
org_id uuid
product_id uuid
sandbox_id uuid
environment_id uuid
permission_id Permission Id (string)required
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
org_id uuid
Org ID to which the permission applies
product_id uuid
Product ID to which the permission applies
environment_id uuid
Environment ID to which the permission applies
sandbox_id uuid
Sandbox ID to which the permission applies
org_name Org Name (string)
Name of the org to which the permission applies
product_name Product Name (string)
Name of the product to which the permission applies
environment_name Environment Name (string)
Name of the environment to which the permission applies
sandbox_name Sandbox Name (string)
Name of the sandbox to which the permission applies
permission_id Permission Id (string)required
Permission to be applied to the entity
account_permission_id uuid
ID of the account permission
[
{
"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"
}
]
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...