POST
/
organization
/
members
/
{id}
cURL
curl --request POST \
  --url https://api.wapikit.com/api/organization/members/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "accessLevel": "Owner"
}'
{
  "data": {
    "member": {
      "uniqueId": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "accessLevel": "Owner",
      "name": "<string>",
      "email": "<string>",
      "roles": [
        {
          "uniqueId": "<string>",
          "name": "<string>",
          "description": "<string>",
          "permissions": [
            "Get:OrganizationMember"
          ]
        }
      ]
    }
  }
}

Path Parameters

id
string
required

The id value of the organization member you want to update.

Body

application/json

updated organization member info

The body is of type object.

Response

200
application/json

user object

The response is of type object.