curl --request POST \
--url https://{tenantDomain}/api/v2/experimentation/feature-flags/{id}/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "draft"
}
'{
"id": "<string>",
"name": "<string>",
"type": "auth0",
"status": "draft",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"parameters": {}
}Transitions a feature flag through its lifecycle states: draft → active, draft → archived, active → archived.
curl --request POST \
--url https://{tenantDomain}/api/v2/experimentation/feature-flags/{id}/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "draft"
}
'{
"id": "<string>",
"name": "<string>",
"type": "auth0",
"status": "draft",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"parameters": {}
}Documentation Index
Fetch the complete documentation index at: https://auth0.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the feature flag to transition.
The target lifecycle status for the feature flag.
The target status to transition the feature flag to.
draft, active, archived Feature flag status successfully updated.
^flg_[A-HJ-NP-Za-km-z1-9]+$Filter by type. Exact match.
auth0, self Filter by status. Exact match.
draft, active, archived Configuration parameters for this feature flag
Show child attributes
Cette page vous a-t-elle été utile ?