GET /api/users/:user_id/personal_access_tokens
List all Personal Access Tokens for a user

Parameter

Parametername Beschreibung
user_id
verpflichtend

ID of the user

Validations:

  • Must be a String

search
optional

Ergebnisse filtern

Validations:

  • Must be a String

order
optional

Ergebnisse sortieren

Validations:

  • Must be a String

page
optional

Ergebnisse nummerieren

Validations:

  • Must be a String

per_page
optional

Anzahl der Eintr├Ąge pro Anfrage

Validations:

  • Must be a String


GET /api/users/:user_id/personal_access_tokens/:id
Show a Personal Access Token for a user

Parameter

Parametername Beschreibung
id
verpflichtend

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

user_id
verpflichtend

ID of the user

Validations:

  • Must be a String


POST /api/users/:user_id/personal_access_tokens
Create a Personal Access Token for a user

Parameter

Parametername Beschreibung
user_id
verpflichtend

ID of the user

Validations:

  • Must be a String

personal_access_token
verpflichtend

Validations:

  • Must be a Hash

personal_access_token[name]
verpflichtend

Validations:

  • Must be a String

personal_access_token[expires_at]
optional , nil erlaubt

Expiry Date

Validations:

  • Must be a DateTime


DELETE /api/users/:user_id/personal_access_tokens/:id
Revoke a Personal Access Token for a user

Parameter

Parametername Beschreibung
id
verpflichtend

Validations:

  • Must be a String

user_id
verpflichtend

ID of the user

Validations:

  • Must be a String