Delete a role

This endpoint is used to delete a role. Subsequent requests for deleting role which does not exist gives 404.

DELETEhttps://api.100ms.live/v2/templates/<template_id>/roles/<role_name>
curl --location --request DELETE 'https://api.100ms.live/v2/templates/<template_id>/roles/<role_name>' \ --header 'Authorization: Bearer <management_token>'
RESPONSE
Status: 204 No Content

Arguments

NameTypeDescriptionRequired
name
— path param
stringAlias of the role you wish to delete.Yes
template_id
— path param
stringUnique identifier of the template to which the role is associated.

Example: 627ce5b637300e55a72ba7ed
Yes

Have a suggestion? Recommend changes ->

Run in postman

Was this helpful?

1234