Create Permission Group
POST/v1/products/:productId/permissions
This endpoint creates a new Permission Group in a specified Product
identified by the productId
parameter, which can be obtained from the List Products endpoint.
Request
Path Parameters
The identifier of the Product.
- application/json
- text/json
- application/*+json
Body
required
Array [
]
Possible values: non-empty
and <= 255 characters
Name of the Permission Group.
Group members can manage team members.
Group members can create/update Configs.
Group members can delete Configs.
Group members can create/update Environments.
Group members can delete Environments.
Group members can create/update Feature Flags and Settings.
Group members can attach/detach Tags to Feature Flags and Settings.
Group members can delete Feature Flags and Settings.
Group members can create/update Tags.
Group members can delete Tags.
Group members can create/update/delete Webhooks.
Group members can use the export/import feature.
Group members can update Product preferences.
Group members can add and configure integrations.
Group members has access to SDK keys.
Group members can rotate SDK keys.
Group members can create/update Segments.
Group members can delete Segments.
Group members has access to audit logs.
Group members has access to product statistics.
Possible values: [readOnly
, full
, custom
]
Represent the Feature Management permission.
Possible values: [full
, readOnly
, none
]
Represent the environment specific Feature Management permission.
environmentAccesses
object[]
nullable
List of environment specific permissions.
Identifier of the Environment.
Possible values: [full
, readOnly
, none
]
Represent the environment specific Feature Management permission.
Group members can disable two-factor authentication for other members.
Body
required
Array [
]
Possible values: non-empty
and <= 255 characters
Name of the Permission Group.
Group members can manage team members.
Group members can create/update Configs.
Group members can delete Configs.
Group members can create/update Environments.
Group members can delete Environments.
Group members can create/update Feature Flags and Settings.
Group members can attach/detach Tags to Feature Flags and Settings.
Group members can delete Feature Flags and Settings.
Group members can create/update Tags.
Group members can delete Tags.
Group members can create/update/delete Webhooks.
Group members can use the export/import feature.
Group members can update Product preferences.
Group members can add and configure integrations.
Group members has access to SDK keys.
Group members can rotate SDK keys.
Group members can create/update Segments.
Group members can delete Segments.
Group members has access to audit logs.
Group members has access to product statistics.
Possible values: [readOnly
, full
, custom
]
Represent the Feature Management permission.
Possible values: [full
, readOnly
, none
]
Represent the environment specific Feature Management permission.
environmentAccesses
object[]
nullable
List of environment specific permissions.
Identifier of the Environment.
Possible values: [full
, readOnly
, none
]
Represent the environment specific Feature Management permission.
Group members can disable two-factor authentication for other members.
Body
required
Array [
]
Possible values: non-empty
and <= 255 characters
Name of the Permission Group.
Group members can manage team members.
Group members can create/update Configs.
Group members can delete Configs.
Group members can create/update Environments.
Group members can delete Environments.
Group members can create/update Feature Flags and Settings.
Group members can attach/detach Tags to Feature Flags and Settings.
Group members can delete Feature Flags and Settings.
Group members can create/update Tags.
Group members can delete Tags.
Group members can create/update/delete Webhooks.
Group members can use the export/import feature.
Group members can update Product preferences.
Group members can add and configure integrations.
Group members has access to SDK keys.
Group members can rotate SDK keys.
Group members can create/update Segments.
Group members can delete Segments.
Group members has access to audit logs.
Group members has access to product statistics.
Possible values: [readOnly
, full
, custom
]
Represent the Feature Management permission.
Possible values: [full
, readOnly
, none
]
Represent the environment specific Feature Management permission.
environmentAccesses
object[]
nullable
List of environment specific permissions.
Identifier of the Environment.
Possible values: [full
, readOnly
, none
]
Represent the environment specific Feature Management permission.
Group members can disable two-factor authentication for other members.
Responses
- 201
- 400
- 404
- 429
When the creation was successful.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Identifier of the Permission Group.
Name of the Permission Group.
Group members can manage team members.
Group members can create/update Configs.
Group members can delete Configs.
Group members can create/update Environments.
Group members can delete Environments.
Group members can create/update Feature Flags and Settings.
Group members can attach/detach Tags to Feature Flags and Settings.
Group members can delete Feature Flags and Settings.
Group members can create/update Tags.
Group members can delete Tags.
Group members can create/update/delete Webhooks.
Group members can use the export/import feature.
Group members can update Product preferences.
Group members can add and configure integrations.
Group members has access to SDK keys.
Group members can rotate SDK keys.
Group members can create/update Segments.
Group members can delete Segments.
Group members has access to audit logs.
Group members has access to product statistics.
Group members can disable two-factor authentication for other members.
Possible values: [readOnly
, full
, custom
]
Represent the Feature Management permission.
Possible values: [full
, readOnly
, none
]
Represent the environment specific Feature Management permission.
environmentAccesses
object[]
nullable
List of environment specific permissions.
Identifier of the Environment.
Name of the Environment.
Color of the Environment.
Description of the Environment.
The order of the Environment represented on the ConfigCat Dashboard.
Determines whether a mandatory reason must be given every time when the Feature Flags or Settings in the given Environment are saved.
Possible values: [full
, readOnly
, none
]
Represent the environment specific Feature Management permission.
product
object
Details of the Product.
organization
object
Details of the Organization.
Identifier of the Organization.
Name of the Organization.
Identifier of the Product.
Name of the Product.
Description of the Product.
The order of the Product represented on the ConfigCat Dashboard. Determined from an ascending sequence of integers.
Determines whether a mandatory reason must be given every time when the Feature Flags or Settings within a Product are saved.
{
"permissionGroupId": 0,
"name": "string",
"canManageMembers": true,
"canCreateOrUpdateConfig": true,
"canDeleteConfig": true,
"canCreateOrUpdateEnvironment": true,
"canDeleteEnvironment": true,
"canCreateOrUpdateSetting": true,
"canTagSetting": true,
"canDeleteSetting": true,
"canCreateOrUpdateTag": true,
"canDeleteTag": true,
"canManageWebhook": true,
"canUseExportImport": true,
"canManageProductPreferences": true,
"canManageIntegrations": true,
"canViewSdkKey": true,
"canRotateSdkKey": true,
"canCreateOrUpdateSegments": true,
"canDeleteSegments": true,
"canViewProductAuditLog": true,
"canViewProductStatistics": true,
"canDisable2FA": true,
"accessType": "readOnly",
"newEnvironmentAccessType": "full",
"environmentAccesses": [
{
"environmentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"color": "string",
"description": "string",
"order": 0,
"reasonRequired": true,
"environmentAccessType": "full"
}
],
"product": {
"organization": {
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
},
"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"description": "string",
"order": 0,
"reasonRequired": true
}
}
Bad request.
Not found.
Too many requests. In case of the request rate exceeds the rate limits.