workspace
Update a workspace flag
Changed onEnable or disable a flag for your workspace. Use workspace.getFlags to find flag slugs and check whether they can be enabled or disabled.
Required Permissions
Your root key must have the following permission:
- unkey:v1:<workspace_id>:flags#write
post/v2/workspace.updateFlag
Request
- Base URLhttps://api.unkey.com
- URLhttps://api.unkey.com/v2/workspace.updateFlag
- AuthHTTP bearer
Request body
Response
Flag updated successfully. The data object is empty.
Example response
{
"meta": {
"requestId": "req_123"
}
}Changes
- info
endpoint added
- info