POST
/
auth
/
v1
/
method
/
token
curl --request POST \
  --url https://try.flipt.io/auth/v1/method/token \
  --header 'Content-Type: application/json' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer <token>' \
  --data '{
  "description": "<description>",
  "name": "<name>"
}'
{
  "clientToken": "<string>",
  "authentication": {
    "id": "<string>",
    "method": "METHOD_NONE",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "expiresAt": "2023-11-07T05:31:56Z",
    "metadata": {}
  }
}

Authorizations

Authorization
string
headerrequired

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

Body

application/json
name
string
required
namespaceKey
string
description
string
required
expiresAt
string

Response

200 - application/json
clientToken
string
required
authentication
object
required