Skip to content

Namespace Role

Allows listing a role of a user in a namespace.

ToolDescription
f5xc-api-tenantandidentity-namespace-role-getGET Namespace Role.
f5xc-api-tenantandidentity-namespace-role-listList Namespace Role.
ParameterDescriptionExample
nameName-
namespaceNamespace-
ParameterDescriptionExample
response_formatThe format in which the configuration object is to be fetched. This could be for example-
label_filterA LabelSelectorType expression that every item in list response will satisfy.-
report_fieldsThe report_fields parameter-
report_status_fieldsThe report_status_fields parameter-

Ask Claude to help you work with Namespace Role resources:

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

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

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/namespace_roles" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/namespace_roles/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/namespace_roles" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @namespace_role.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/namespace_roles/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"