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": {}
}
}
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>"
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.
Was this page helpful?
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": {}
}
}
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": {}
}
}
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>"
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.
Was this page helpful?
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": {}
}
}