Skip to content

Role

Role provides tools for creating, listing, retrieving, updating, and deleting resources in F5 Distributed Cloud.

ToolDescription
f5xc-api-tenantandidentity-role-createCustom Create Role.
f5xc-api-tenantandidentity-role-getCustom GET Role.
f5xc-api-tenantandidentity-role-listCustom List Roles.
f5xc-api-tenantandidentity-role-updateCustom Replace Role.
f5xc-api-tenantandidentity-role-deleteDelete Role.
ParameterDescriptionExample
namespaceNamespace Namespace.system
nameName Name of the role.example-resource

Ask Claude to help you work with Role resources:

“Create a role named ‘example’ in the ‘production’ namespace”

“List all roles in the ‘production’ namespace”

“Get details of the role named ‘example’ in namespace ‘production‘“

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/web/custom/namespaces/$${PARAM}/roles" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/web/custom/namespaces/$${PARAM}/roles/$${PARAM}" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Create resource
curl -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 resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/web/namespaces/$${PARAM}/roles/$${PARAM}" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"