curl --request GET \
--url https://try.flipt.io/auth/v1/self \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
{
"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 GET \
--url https://try.flipt.io/auth/v1/self \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
{
"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 GET \
--url https://try.flipt.io/auth/v1/self \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The response is of type object.
Was this page helpful?