DELETE/groups/{groupId}/administrators/{userId}

Removes a group master. This API operation cannot remove an external group master.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

directory
group

HTTP Request

DELETEhttps://www.worksapis.com/v1.0/groups/{groupId}/administrators/{userId}

Path Parameters

ParameterTypeDescription
groupId string 

Group ID or external key.
External key in "externalKey:{externalKey}" format


required 
userId string 

Member ID
- Email address
- Resource ID
- External key in "externalKey:{externalKey}" format


required
example : userf7da-f82c-4284-13e7-030f3b4c756x 

Query Parameters

ParameterTypeDescription
domainId integer 

Domain ID


example : 10000001
format : int32 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 204

No Content

HTTP 400

Bad Request

HTTP 403

Forbidden

HTTP 404

Not Found