Refresh a service key
POST /api/v1/services/:serviceId/refresh-key
Description
Refresh the service key for a specific service.
URL:
- Raw URL:
/api/v1/services/:serviceId/refresh-key - Host:
- Path:
/api/v1/services/:serviceId/refresh-key - Variables:
- serviceId: (Required)
Request:
Headers:
- apiKey: (Required)
Response:
- Status: Created (201)
/api/v1/services/:serviceId/refresh-key
Headers
| Content-Type | Value |
|---|---|
| apiKey | string |
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Body (raw)
{
"apiKeyRotationPeriod": "YEARS",
"apiKeyRotationValue": "<number>",
"apiKeyRotationCustomDate": {},
"actionBy": "<string>",
"callBackUrl": "<string>"
}
Response: 201
LANGUAGE
CURL REQUEST
curl --request POST \
--url /api/v1/services/:serviceId/refresh-key \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!