Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| username | string | Yes | Username of the credential |
Notes
- Credential must exist
- If no public key is assigned, the operation still succeeds
- Public key assignment is set to null
Response
Success Response (200 OK)
Error Response (400 Bad Request)
Error Response (401 Unauthorized)
Error Response (404 Not Found)
cURL Example
Notes and Warnings
-
Credential Requirements:
- Credential must exist
- Operation succeeds even if no public key is currently assigned
-
Automatic Deployment:
- Credential is automatically deployed to all environments after public key removal
- Deployment results are returned in the response
-
No Impact on Public Key:
- The public key itself is not deleted
- Only the assignment to the credential is removed
Permissions
- User must have
IDENTITY+MANAGEpermission in the project - For automatic deployment, user must also have
IDENTITY+DEPLOY_UNDEPLOYpermission
Related Documentation
- Set Public Key - Assign public key to credential
- Set Private Key - Assign private key to credential
- List Credentials - List all credentials

