Activate Web Key
POST/v2beta/web_keys/:id/activate
Switch the active signing web key. The previously active key will be deactivated. Note that the JWKs OIDC endpoint returns a cacheable response. Therefore it is not advised to activate a key that has been created within the cache duration (default is 5min), as the public key may not have been propagated to caches and clients yet.
Required permission:
iam.web_key.write
Required feature flag:
web_key
Request​
Path Parameters
Responses​
- 200
- 400
- 403
- 404
- default
Web key activated successfully.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
The timestamp of the activation of the key.
{
"changeDate": "2025-01-23T10:34:18.051Z"
}
- Schema
- Example (from schema)
Schema
The timestamp of the activation of the key.
{
"changeDate": "2025-01-23T10:34:18.051Z"
}
- Schema
- Example (from schema)
Schema
The timestamp of the activation of the key.
{
"changeDate": "2025-01-23T10:34:18.051Z"
}
The feature flag web_key
is not enabled.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
Schema
any
- Schema
Schema
any
- Schema
Schema
any
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
The web key to active does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
Schema
any
- Schema
Schema
any
- Schema
Schema
any
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}