Skip to main content
POST
/
v1
/
flags:apply
Applys Flag
curl --request POST \
  --url https://resolver.eu.confidence.dev/v1/flags:apply \
  --header 'Content-Type: application/json' \
  --data '
{
  "flags": [
    {
      "flag": "<string>",
      "applyTime": {}
    }
  ],
  "clientSecret": "<string>",
  "resolveToken": {},
  "sendTime": {},
  "sdk": {
    "id": "SDK_ID_UNSPECIFIED",
    "customId": "<string>",
    "version": "<string>"
  }
}
'
{}

Body

application/json
flags
object[]
required

The flags to apply and information about when they were applied.

clientSecret
string
required

Credentials for the client.

resolveToken
object
required

An opaque token that was returned from ResolveFlags; it must be set.

sendTime
object
required

The client time when the this request was sent, used for correcting clock skew from the client.

sdk
object

Information about the SDK used to initiate the request.

Response

200 - application/json

OK

The response is of type object.