Update Project Member
Changes an existing member's role. Only a project admin can change a role. The last admin cannot be changed to a member, so the project is never left without an admin.
Authorization
Authorization In: header
Path Parameters
ID of the project.
ID of the member, from List Project Members.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
The role to set on this member.
New role: member or admin, the same choices as the Members settings page.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/projects/string/members/string" \ -H "Content-Type: application/json" \ -d '{ "changes": { "role": "member" } }'{ "id": "string", "createdAt": "string", "updatedAt": "string", "projectId": "string", "userId": "string", "role": "member"}Update Project Member Invite
Changes the role on a pending invite. Only a project admin can change it. role is member or admin, the same choices as the Members settings page.
List Domains
Lists the project's domains. Filter by sending status, shortlink state, or readyToSend (ACTIVE and tracking verified — use that when picking a from-domain).