Skip to content

Create a user-ssh-key

POST
/user-ssh-keys
object
data
object
name
required
string
public_key
required
string
private_key_encrypted
string
fingerprint
string
user
One of:

DocumentId reference to plugin::users-permissions.user

string
organisation
One of:

DocumentId reference to api::organisation.organisation

string

Created

object
data
object
name
required
string
public_key
required
string
private_key_encrypted
string
fingerprint
string
user
One of:

DocumentId reference to plugin::users-permissions.user

string
organisation
One of:

DocumentId reference to api::organisation.organisation

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Validation error

Missing or invalid authentication

Not authorized (tenant scope or capability)