Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer {token} | Yes |
| Content-Type | application/json | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| jwkName | string | Yes | Name of the JWK to update |
Request Body
Request Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | No | New JWK name (must be unique if changed) |
| description | string | No | New JWK description |
Notes
- If
nameis changed, it must be unique within the project - Updating a JWK that was created from a source (URL, certificate, key, keystore) will detach it from the source
- JWK is automatically deployed to all environments after update
Response
Success Response (200 OK)
Error Response (400 Bad Request)
cURL Example
Notes and Warnings
-
Source Detachment:
- Updating a JWK created from a source will detach it from the source
- The JWK becomes independent after update
-
Name Changes:
- Name can be changed, but must remain unique
- All references to the old name must be updated
-
Automatic Deployment:
- JWK is automatically deployed after update
- Deployment results are returned in the response
Permissions
User must haveSECRETS + MANAGE permission in the project. For deployment operations (when deploying JWKs to environments), user must also have SECRETS + DEPLOY_UNDEPLOY permission.
Related Documentation
- List JWKs - List all JWKs
- Get JWK - Get a specific JWK
- Create JWK - Create a new JWK
- Delete JWK - Delete a JWK

