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 truststore is assigned, the operation still succeeds
- Truststore 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 truststore is currently assigned
-
Automatic Deployment:
- Credential is automatically deployed to all environments after truststore removal
- Deployment results are returned in the response
-
No Impact on Truststore:
- The truststore itself is not deleted
- Only the assignment to the credential is removed
-
mTLS Impact:
- Removing truststore may affect mTLS connections
- Ensure alternative truststore is configured if needed
Permissions
- User must have
IDENTITY+MANAGEpermission in the project - For automatic deployment, user must also have
IDENTITY+DEPLOY_UNDEPLOYpermission
Related Documentation
- Set Truststore - Assign truststore to credential
- Set Keystore - Assign keystore to credential
- List Credentials - List all credentials

