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 secret key is assigned, the operation still succeeds
- Secret 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 secret key is currently assigned
-
Automatic Deployment:
- Credential is automatically deployed to all environments after secret key removal
- Deployment results are returned in the response
-
No Impact on Secret Key:
- The secret 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 Secret Key - Assign secret key to credential
- Set Certificate - Assign certificate to credential
- List Credentials - List all credentials

