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

Authorizations

Authorization
string
header
required

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

Response

200 - application/json
OK
id
string
method
enum<string>
Available options:
METHOD_NONE,
METHOD_TOKEN,
METHOD_OIDC,
METHOD_KUBERNETES,
METHOD_GITHUB,
METHOD_JWT,
METHOD_CLOUD
expiresAt
string
createdAt
string
updatedAt
string
metadata
object