Role
Role provides tools for creating, listing, retrieving, updating, and deleting resources in F5 Distributed Cloud.
| Tool | Description |
|---|---|
f5xc-api-tenantandidentity-role-create | Custom Create Role. |
f5xc-api-tenantandidentity-role-get | Custom GET Role. |
f5xc-api-tenantandidentity-role-list | Custom List Roles. |
f5xc-api-tenantandidentity-role-update | Custom Replace Role. |
f5xc-api-tenantandidentity-role-delete | Delete Role. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
namespace | Namespace Namespace. | system |
name | Name Name of the role. | example-resource |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Role resources:
Create Role
Section titled “Create Role”“Create a role named ‘example’ in the ‘production’ namespace”
List Roles
Section titled “List Roles”“List all roles in the ‘production’ namespace”
Get Role Details
Section titled “Get Role Details”“Get details of the role named ‘example’ in namespace ‘production‘“
CURL Examples
Section titled “CURL Examples”# List resourcescurl -X GET "https://${TENANT}.console.ves.volterra.io/api/web/custom/namespaces/$${PARAM}/roles" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Get specific resourcecurl -X GET "https://${TENANT}.console.ves.volterra.io/api/web/custom/namespaces/$${PARAM}/roles/$${PARAM}" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Create resourcecurl -X POST "https://${TENANT}.console.ves.volterra.io/api/web/custom/namespaces/$${PARAM}/roles" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @role.json
# Delete resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/web/namespaces/$${PARAM}/roles/$${PARAM}" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"