- Home
- API MCP Server
- tools
- tenant-and-identity
- other
- Role
Role
Create a role object and the rbac_policy object which the role associated with.
| 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 | - |
name | Name | - |
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/config/namespaces/${NAMESPACE}/roles" \ -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}/roles/<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}/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/config/namespaces/${NAMESPACE}/roles/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"