Update

Updates an existing flag

Path parameters

workbookIdstringRequired
The workbook ID to manage flags for
slugstringRequired
The flag slug to update

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

X-Disable-Hooks"true"Required

Request

This endpoint expects an object.
labelstringOptional
The new label for the flag
colorHexstringOptional
The new hex color code for the flag
newSlugstringOptional
The new slug for the flag

Response

This endpoint returns an object.
idstring
The unique identifier for the flag
slugstring
The flag slug
labelstring
The flag label
colorHexstring
The hex color code for the flag
workbookIdstring
The workbook this flag belongs to
createdAtdatetime
When the flag was created
updatedAtdatetime
When the flag was last updated