Create permission for Event Topic

Create permission for Event Topic

Create permission for Event Topic for specified principal.

Request
URI
PUT
https://{api_host}/event-broker-service/api/topics/{eventTopicId}/principals/{principalId}
COPY
Path Parameters
string
eventTopicId
Required

eventTopicId

string
principalId
Required

principalId


Request Body
EventTopicPermissions of type(s) application/json
Required
{
    "canSubscribe": false,
    "canPublish": false
}
boolean
canSubscribe
Optional

canSubscribe

boolean
canPublish
Optional

canPublish

Responses
204

'Created' on success

Operation doesn't return any data structure