Skip to main content
POST
/
v4
/
account
/
api-keys
/
{id}
/
regenerate
Regenerate API key
curl --request POST \
  --url https://api.proxyscrape.com/v4/account/api-keys/{id}/regenerate \
  --header 'api-token: <api-key>'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "old_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "token": "<string>",
    "name": "<string>",
    "permissions": [
      "<string>"
    ],
    "allowed_subaccounts": [
      "<string>"
    ],
    "allowed_ips": [
      "<string>"
    ],
    "expires_at": 123,
    "created_at": 123
  },
  "warning": "<string>",
  "note": "<string>"
}

Authorizations

api-token
string
header
required

API key. Create and manage keys at /v4/account/api-keys or in the dashboard.

Path Parameters

id
string<uuid>
required

Response

New key created. Token returned only once — store immediately.

success
boolean
message
string
data
object
warning
string

Reminder that the token is shown only once.

note
string

Confirmation that the old token has been revoked.