SkillHub
Referenceorgs

Change a member's role

PATCH
/orgs/{handle}/members/{userHandle}

Path Parameters

handle*string
Lengthlength <= 64
userHandle*string
Lengthlength <= 64

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/orgs/string/members/string" \  -H "Content-Type: application/json" \  -d '{    "role": "owner"  }'
{  "user": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "handle": "string",    "displayName": "string",    "avatarUrl": "string"  },  "role": "owner",  "joinedAt": "2019-08-24T14:15:22Z"}