Skip to main content

Activate a service key

POST /api/v1/tenants/:tenantId/services/:serviceId/activate

Description

Activate a service key for a specific tenant and service.

Request

  • Authentication:

    • Type: Bearer Token
    • Token: {{bearerToken}} (Replace with the actual bearer token)
  • Headers:

    • Content-Type: application/json
  • URL:

    • Raw URL: /api/v1/tenants/:tenantId/services/:serviceId/activate
    • Host:
    • Path: /api/v1/tenants/:tenantId/services/:serviceId/activate
    • Variables:
      • tenantId: (Required)
      • serviceId: (Required)

Response:

  • Status: Created (201)
/api/v1/tenants/:tenantId/services/:serviceId/activate

Headers

Content-TypeValue
Content-Typeapplication/json

Body (raw)

{
"userId": "<string>",
"actionBy": "<string>",
"apiKeyRotationPeriod": "WEEKS",
"apiKeyRotationValue": "<number>",
"apiKeyRotationCustomDate": {}
}

🔑 Authentication bearer

ParamvalueType
tokenbearerTokenstring

Response: 201

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request POST \ 
--url /api/v1/tenants/:tenantId/services/:serviceId/activate \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


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