Skip to main content
PUT
/
api
/
v1
/
auth-settings
/
control-plane
Update control plane settings
curl --request PUT \
  --url http://localhost:3001/api/v1/auth-settings/control-plane \
  --header 'Content-Type: application/json' \
  --cookie nut-session= \
  --data '
{
  "callbackToken": "cpt_xxx"
}
'
{
  "success": true,
  "data": {
    "controlPlane": {
      "hasCallbackToken": true
    }
  }
}

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Body

application/json
callbackToken
string
required

Callback token to persist for control plane connector requests. Send an empty string to clear the saved token.

Example:

"cpt_xxx"

Response

Control plane settings updated successfully

success
boolean
required
data
object