No Results
Remove Domain Permissions

EdgeCore version: 4.3.0

Method

DELETE /public/roles/{roleName}/domainPermissions

Used to remove domain permissions from a given role.

Parameters

Name Type Description Mandatory
roleName
string Name of the role for which you want to add domain permissions Yes
domains[]
Array of strings Domain for which you want to remove permissions;

Possible values:
<MyDomain>, which is the user’s own domain;

<AllDomains>, which is every domain in the system;

The name of any existing domain;

Yes

 

cURL example

curl --location --request DELETE 'http://localhost:8080/public/roles/Editor/domainPermissions' \
--header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5' \
--form 'domains[]=MyDomain'

HTTP Response

Code Status Description
204 No Content The request has succeeded, but there is no additional content to send in the response payload body.

Terms | Privacy