Token Auth
Attach
Attach Token Auth configuration onto identity
POST
/
api
/
v1
/
auth
/
token-auth
/
identities
/
{identityId}
Authorizations
An access token in Infisical
Path Parameters
The ID of the identity to attach the configuration onto.
Body
application/json
The IPs or CIDR ranges that access tokens can be used from.
The lifetime for an access token in seconds.
Required range:
1 < x < 315360000
The maximum lifetime for an access token in seconds.
Required range:
x < 315360000
The maximum number of times that an access token can be used.
Required range:
x > 0
Response
200 - application/json