メインコンテンツへスキップ
POST
https://{tenantDomain}/api/v2
/
experimentation
/
feature-flags
/
{id}
/
status
Transition a feature flag to a new status.
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://auth-test.auth0-mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

The ID of the feature flag to transition.

ボディ

The target lifecycle status for the feature flag.

status
enum<string>
必須

The target status to transition the feature flag to.

利用可能なオプション:
draft,
active,
archived

レスポンス

Feature flag status successfully updated.

id
string
必須
Pattern: ^flg_[A-HJ-NP-Za-km-z1-9]+$
name
string
必須
type
enum<string>
必須

Filter by type. Exact match.

利用可能なオプション:
auth0,
self
status
enum<string>
必須

Filter by status. Exact match.

利用可能なオプション:
draft,
active,
archived
created_at
string<date-time>
必須
updated_at
string<date-time>
必須
description
string
parameters
object

Configuration parameters for this feature flag