PUT
/
auth
/
team-members
/
{id}
curl --request PUT \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/admin/auth/team-members/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "[email protected]",
  "phone": "<string>"
}'
{
  "message": "<string>",
  "success": true,
  "content": {
    "member": {
      "id": "<string>",
      "first_name": "<string>",
      "last_name": "<string>",
      "email": "[email protected]",
      "phone": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

member ulid

Body

application/json
id
string
first_name
string
last_name
string
email
string
phone
string

Response

200 - application/json
OK
message
string
success
boolean
content
object