Whoami¶
Low Risk
Operations on this resource are generally safe.
GET fetches user information based on the username header from the request context this API is also called as WhoAmI.
Tools¶
| Tool | Description |
|---|---|
f5xc-api-tenantandidentity-whoami-list | GET User Details. |
Parameters¶
Path Parameters¶
| Parameter | Description | Example |
|---|---|---|
namespace | Namespace | - |
Example Usage¶
Ask Claude to help you work with Whoami resources:
List Whoamis¶
"List all whoamis in the 'production' namespace"
CURL Examples¶
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/whoamis" \
-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}/whoamis/<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}/whoamis" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @whoami.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/whoamis/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"