- Home
- API MCP Server
- tools
- tenant-and-identity
- other
- Namespace Role
Namespace Role
Allows listing a role of a user in a namespace.
| Tool | Description |
|---|---|
f5xc-api-tenantandidentity-namespace-role-get | GET Namespace Role. |
f5xc-api-tenantandidentity-namespace-role-list | List Namespace Role. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
name | Name | - |
namespace | Namespace | - |
Query Parameters
Section titled “Query Parameters”| Parameter | Description | Example |
|---|---|---|
response_format | The format in which the configuration object is to be fetched. This could be for example | - |
label_filter | A LabelSelectorType expression that every item in list response will satisfy. | - |
report_fields | The report_fields parameter | - |
report_status_fields | The report_status_fields parameter | - |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Namespace Role resources:
List Namespace Roles
Section titled “List Namespace Roles”“List all namespace-roles in the ‘production’ namespace”
Get Namespace Role Details
Section titled “Get Namespace Role Details”“Get details of the namespace-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}/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}/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}/namespace_roles" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @namespace_role.json
# Delete resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/namespace_roles/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"