POST
/
pat

Authorizations

Authorization
string
headerrequired

This endpoint may require elevated permissions, depending on server settings. For details see https://docs.nhost.io/guides/auth/elevated-permissions

Body

application/json
expiresAt
string
required

Expiration date of the PAT

metadata
object

Response

200 - application/json
id
string
required

ID of the PAT

personalAccessToken
string
required

PAT