Change the target member's role to `admin` or `member`. Owner is intentionally not assignable through this endpoint — use POST /v1/org/transfer-ownership to change ownership.
Change the target member's role to `admin` or `member`. Owner is intentionally not assignable through this endpoint — use POST /v1/org/transfer-ownership to.
Required role: admin or higher (organization-level).
Required scope: members:write (for both OAuth2 tokens and API keys).
In: header
Path Parameters
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://api.competitortracker.io/v1/org/members/01J0000000000000000000U001" \ -H "Content-Type: application/json" \ -d '{ "role": "admin" }'{
"ok": true,
"userId": "string",
"previousRole": "admin",
"newRole": "admin"
}{
"code": "string",
"message": "string",
"resolution": "string"
}{
"code": "string",
"message": "string",
"resolution": "string"
}{
"code": "string",
"message": "string",
"resolution": "string"
}List active members of the current organization. GET
List active members of the current organization — Competitor Tracker & Co. API reference for GET /v1/org/members: request parameters, request body, response.
Users
Read and update the signed-in user's profile — the REST API reference for this group: every path with its parameters, the request body, the response schema.