Skip to main content
POST
Create a new PSK for the current user

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Request model for creating a user PSK.

description
string | null

Optional description for the PSK.

Response

PSK created successfully.

Response model for PSK creation/regeneration. It includes the raw PSK.

id
string<uuid>
required

Unique ID of the PSK.

psk
string
required

The raw pre-shared key. Store this securely, you can't retrieve it again.

created_at
string<date-time>
required

Timestamp when you created the PSK.

message
string
required

Important information about the PSK.

description
string | null

Optional description for the PSK.