Skip to main content

Create Key for machine user

POST 

/users/:userId/keys

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Deprecated: use user service v2 AddKey instead.

If a public key is not supplied, a new key is generated and will be returned in the response. Make sure to store the returned key. If an RSA public key is supplied, the private key is omitted from the response. Machine keys are used to authenticate with jwt profile.

Request​

Responses​

OK