Group members
Update a group member
Changed onUpdates a group member's role.
patch/v1/groups/{groupId}/members/{userId}
Request
- Base URLhttps://api.folk.app
- URLhttps://api.folk.app/v1/groups/{groupId}/members/{userId}
- AuthHTTP bearer
Path parameters
groupIdstring required
The identifier of the group. You can retrieve a list of group identifiers using the /v1/groups endpoint.
userIdstring required
The identifier of the group member. You can retrieve a list of network members using the GET /v1/users endpoint.
Headers
Idempotency-Keystring
A unique key, such as a UUID, that makes retrying this request safe: a retry with the same key and body returns the original response without running the operation again. Keys are kept for 24 hours after the request completes.
Example:8e03978e-40d5-43e8-bc93-6894a57f9324
Request body
Response
The updated group member.
Example response
{
"data": {
"id": "usr_bc984b3f-0386-434d-82d7-a91eb6badd71",
"fullName": "John Doe",
"email": "john.doe@example.com",
"role": "contributor"
},
"deprecations": [
"This field is deprecated"
]
}Changes
- info
endpoint added
- info