Skip to main content

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-TypeValue
apiKeystring

Headers

Content-TypeValue
Content-Typeapplication/json

Body (raw)

{
"apiKeyRotationPeriod": "YEARS",
"apiKeyRotationValue": "<number>",
"apiKeyRotationCustomDate": {},
"actionBy": "<string>",
"callBackUrl": "<string>"
}

Response: 201

LANGUAGE

AUTHORIZATION

Bearer

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!