Activate All Keys
POST /api/v1/tenants/:tenantId/activate/all
Description
Activate all keys 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/activate/all -
Host:
-
Path:
/api/v1/tenants/:tenantId/activate/all -
Variables:
- tenantId: (Required)
-
Response:
- Status: Created (201)
/api/v1/tenants/:tenantId/activate/all
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/activate/all \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!