Get API key metadata for all keys created by the user
Retrieves metadata for all API keys created by the given user.
Path parameters
-
The user ID.
GET
/users/{user_id}/auth/keys
curl \
-X GET https://{{hostname}}/api/v1/users/{user_id}/auth/keys
Response examples (200)
{
"keys": [
{
"id": "string",
"user_id": "string",
"organization_id": "string",
"description": "string",
"key": "string",
"creation_date": "2025-05-04T09:42:00+00:00",
"expiration_date": "2025-05-04T09:42:00+00:00"
}
]
}
Response examples (404)
# Headers
x-cloud-error-codes: api_keys.user_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Delete a ruleset
Deletes the ruleset by ID.
Path parameters
-
The mandatory ruleset ID.
Query parameters
-
ignore_associations boolean
When true, ignores the associations and deletes the ruleset. When false, recognizes the associations, which prevents the deletion of the rule set.
Default value is
false
.
Responses
-
The traffic filter ruleset was successfully deleted.
Additional properties are allowed.
-
The traffic filter ruleset specified by {ruleset_id} cannot be found. (code:
traffic_filter.not_found
) -
Error deleting the traffic filter ruleset. (code:
traffic_filter.request_execution_failed
)
DELETE
/deployments/traffic-filter/rulesets/{ruleset_id}
curl \
-X DELETE https://{{hostname}}/api/v1/deployments/traffic-filter/rulesets/{ruleset_id}
Response examples (200)
{}
Response examples (404)
# Headers
x-cloud-error-codes: traffic_filter.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (500)
# Headers
x-cloud-error-codes: traffic_filter.request_execution_failed
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}