GET /api/users/:user_id/ssh_keys
Alle SSH-Schlüssel eines Benutzers 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/ssh_keys/:id
SSH-Schlüssel eines Benutzers anzeigen

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/ssh_keys
SSH-Schlüssel einem Benutzer hinzufügen

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

ssh_key
verpflichtend

Validations:

  • Must be a Hash

ssh_key[name]
verpflichtend

Validations:

  • Must be a String

ssh_key[key]
verpflichtend

Öffentliche SSH-Schlüssel

Validations:

  • Must be a String


DELETE /api/users/:user_id/ssh_keys/:id
SSH-Schlüssel eines Benutzers löschen

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