Activate Product Key
POST /api/v1/tenants/:tenantId/products/:productId/activate
Description
Activate a product key for a tenant.
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/products/:productId/activate - Host:
- Path:
/api/v1/tenants/:tenantId/products/:productId/activate - Variables:
- tenantId: (Required)
- productId: (Required)
- Raw URL:
Response:
- Status: Created (201)
/api/v1/tenants/:tenantId/products/:productId/activate
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Body (raw)
{
"userId": "<string>",
"actionBy": "<string>",
"apiKeyRotationPeriod": "WEEKS",
"apiKeyRotationValue": "<number>",
"apiKeyRotationCustomDate": {}
}
🔑 Authentication bearer
| Param | value | Type |
|---|---|---|
| token | bearerToken | string |
Response: 201
LANGUAGE
CURL REQUEST
curl --request POST \
--url /api/v1/tenants/:tenantId/products/:productId/activate \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!