Skip to main content

Regenerate access key

POST /api/v1/Profiles/keys/regenerate

Description

This endpoint is used to regenerate access keys for a user.

Tags: Profiles

URL:
/api/v{version}/Profiles/keys/regenerate

ApiKey:
No API key required

Content-Type:
No request body

Query Parameters:
version: string, required
Accept-Language: header, optional, change the default response message language from English(en) to French(fr) or English(en)

Response:
Success, returns a KeyResponseResponse object containing regenerated access keys.

Error Codes:
400: Bad Request
404: Not Found

/api/v1/Profiles/keys/regenerate

Headers

Content-TypeValue
Accept-Language

Headers

Content-TypeValue
Accepttext/plain

Response: 200

{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": {
"liveKey": `<string>`,
"testKey": `<string>`
}
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request POST \ 
--url /api/v1/Profiles/keys/regenerate \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!