Updates the role of the specified member.
curl --request PUT \
--url https://app.dynamicauth.com/api/v0/members/{memberId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "owner"
}
'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the membership
36^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"95b11417-f18f-457f-8804-68e361f9164f"
The role to be updated for the member
Member role field which can be updated
owner, admin, developer, viewer Update Member Role Response
Show child attributes
Was this page helpful?
curl --request PUT \
--url https://app.dynamicauth.com/api/v0/members/{memberId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "owner"
}
'{}