Promote or demote a teammate.
Hosted dashboard only.
PUT/api/v1/workspace-team/members/{id}
Keysession only
The workspace owner may assign Admin or Member in their current workspace. Use a Clerk session token at https://app.koi.dog/api/v1 with Origin: https://app.koi.dog.
Path parameters.
idstringrequired
The workspace teammate's id.
Headers.
Idempotency-Keystring
Retry the same request with the same key. Retry rules.
Body.
roleenumrequired
The role to assign to this teammate. Admins can send and revoke team invitations. One of admin, member.
Response.
200 OK · JSON object
- 422 validation_failed
- Each schema error appears in
details.