GET /api/users/:user_id/personal_access_tokens
Alle persönlichen Zugriffstoken eines Users auflisten

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

user_id
verpflichtend

Kennung des Benutzers

Validations:

  • Must be a String

search
optional

Ergebnisse filtern

Validations:

  • Must be a String

order
optional

Feld und Reihenfolge sortieren, z.B. 'id DESC'

Validations:

  • Must be a String

page
optional

Seitennummer, beginnend bei 1

Validations:

  • Must be a number.

per_page
optional

Anzahl der angezeigten Ergebnisse pro Seite

Validations:

  • Must be a number.

Suchfelder

Feld Name Typ Mögliche Werte
name
user_id

GET /api/users/:user_id/personal_access_tokens/:id
Zeige ein persönliches Zugriffstoken eines Users

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

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

Kennung des Benutzers

Validations:

  • Must be a String


POST /api/users/:user_id/personal_access_tokens
Erstelle ein persönliches Zugriffstoken für einen User

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

user_id
verpflichtend

Kennung des Benutzers

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

Ablauftermin

Validations:

  • Must be a DateTime


DELETE /api/users/:user_id/personal_access_tokens/:id
Widerrufe ein persönliches Zugriffstoken für einen User

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
verpflichtend

Validations:

  • Must be a String

user_id
verpflichtend

Kennung des Benutzers

Validations:

  • Must be a String