Remove a user role from your service

DELETE /v1/Services/{ChatServiceSid}/Roles/{Sid}

A Service Role resource represents a set of permissions granted to a user within a service or a conversation.

Remove a user role from your service

Path parameters

  • ChatServiceSid string Required

    The SID of the Conversation Service to delete the Role resource from.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^IS[0-9a-fA-F]{32}$.

  • Sid string Required

    The SID of the Role resource to delete.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^RL[0-9a-fA-F]{32}$.

Responses

  • 204

    The resource was deleted successfully.

DELETE /v1/Services/{ChatServiceSid}/Roles/{Sid}
curl \
 --request DELETE 'https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Roles/{Sid}' \
 --user "username:password"