Skip to main content
POST
/
api
/
user
/
psk
/
regenerate
Regenerate PSK for the current user
curl --request POST \
  --url https://api.example.com/api/user/psk/regenerate \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "psk": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "message": "<string>",
  "description": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.nx1cloud.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Response

PSK regenerated 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.