OrgsPsks

deleteOrgPskOldPassphrase

POST
/api/v1/orgs/{org_id}/psks/{psk_id}/delete_old_passphrase

Remove the stored old_passphrase from a PSK after rotation. If successful, the response returns the PSK with old_passphrase removed.

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

org_id*string
Formatuuid
psk_id*string

PSK ID

Formatuuid

Response Body

curl -X POST "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/psks/000000ab-00ab-00ab-00ab-0000000000ab/delete_old_passphrase"
{  "admin_sso_id": "string",  "created_time": 0.1,  "email": "string",  "expire_time": 1614990263,  "expiry_notification_time": 0,  "id": "53f10664-3ce8-4c27-b382-0ef66432349f",  "mac": "string",  "macs": [    "112233abcedf",    "aabbcc*"  ],  "max_usage": 0,  "modified_time": 0.1,  "name": "string",  "note": "string",  "notify_expiry": false,  "notify_on_create_or_edit": true,  "old_passphrase": "string",  "org_id": "a97c1b22-a4e9-411e-9bfd-d8695a0f9e61",  "passphrase": "pa$$word",  "role": "string",  "site_id": "441a1214-6928-442a-8e92-e1d34b8ec6a6",  "ssid": "string",  "usage": "macs",  "usermac_labels": [    "iot",    "students"  ],  "vlan_id": "string",  "vlan_name": "string"}