curl --request POST \
--url https://{tenantDomain}/api/v2/experimentation/feature-flags \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"parameters": {},
"description": "<string>"
}
'{
"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": {}
}Create a new feature flag with parameters for use in experiments.
curl --request POST \
--url https://{tenantDomain}/api/v2/experimentation/feature-flags \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"parameters": {},
"description": "<string>"
}
'{
"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.
Create a feature flag for experiment configuration
A human-readable name for the feature flag
3 - 255^(?!.*\x00)\S(.*\S)?$Configuration parameters for this feature flag
Show child attributes
A description of what this feature flag controls
3 - 1024^(?!.*\x00)\S(.*\S)?$Feature flag successfully created.
^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
このページは役に立ちましたか?