- Home
- API MCP Server
- tools
- authentication
- API Credential
API Credential
It is used to revoke multiple API credentials. This API would disable the credentials and mark them for deletion. The actual removal of objects would be done in the background. Depending upon if user is admin or not, following behaviour is supported:-
- for admins : user has the access to DELETE their own as well as credentials created by others
- for non-admins: user can only DELETE their own credentials.
| Tool | Description |
|---|---|
f5xc-api-authentication-api-credential-create | Bulk Revoke API credentials. |
f5xc-api-authentication-api-credential-get | GET API Credentials. |
f5xc-api-authentication-api-credential-list | List API Credentials. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
name | Credential name | - |
namespace | Namespace | - |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with API Credential resources:
Create API Credential
Section titled “Create API Credential”“Create a api-credential named ‘example’ in the ‘production’ namespace”
List API Credentials
Section titled “List API Credentials”“List all api-credentials in the ‘production’ namespace”
Get API Credential Details
Section titled “Get API Credential Details”“Get details of the api-credential named ‘example’ in namespace ‘production‘“
CURL Examples
Section titled “CURL Examples”# List resourcescurl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/api_credentials" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json"
# Get specific resourcecurl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/api_credentials/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json"
# Create resourcecurl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/api_credentials" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @api_credential.json
# Delete resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/api_credentials/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"