Skip to content

User Role

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

ToolDescription
f5xc-api-tenantandidentity-user-role-createCreate User with Role Assignment.
f5xc-api-tenantandidentity-user-role-listGet User and Role Assignments.
f5xc-api-tenantandidentity-user-role-updateUpdate User and Role Assignments.
ParameterDescriptionExample
namespaceNamespace All users of a tenant must be created in tenant’s system namespace.system

Ask Claude to help you work with User Role resources:

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

“List all user-roles in the ‘production’ namespace”

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/web/custom/namespaces/$${PARAM}/user_roles" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/web/custom/namespaces/$${PARAM}/user_roles" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @user_role.json