Add a Kafka Schema Registry ACL entry
Path parameters
-
Service name
Minimum length is
0
, maximum length is63
.
Body Required
-
id string
Kafka ACL ID
Minimum length is
1
, maximum length is40
. -
Kafka username or username pattern
Minimum length is
1
, maximum length is64
. -
Kafka Schema Registry name or pattern
Minimum length is
1
, maximum length is249
. -
Kafka Schema Registry permission
Values are
schema_registry_read
orschema_registry_write
.
POST /dbaas-kafka/{name}/schema-registry/acl-config
curl \
-X POST https://api-ch-gva-2.exoscale.com/v2/dbaas-kafka/{name}/schema-registry/acl-config \
-H "Content-Type: application/json" \
-d '{"id":"string","username":"string","resource":"string","permission":"schema_registry_read"}'
Request examples
{
"id": "string",
"username": "string",
"resource": "string",
"permission": "schema_registry_read"
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}