PUT
/
auth
/
user
/
{id}
/
activate
curl --request PUT \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/admin/auth/user/{id}/activate \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "success": true,
  "content": {
    "user": {
      "id": "<string>",
      "first_name": "<string>",
      "last_name": "<string>",
      "email": "<string>",
      "phone": "<string>",
      "active": true,
      "created_at": "2023-11-07T05:31:56Z",
      "modified_at": "2023-11-07T05:31:56Z"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

user ulid

Response

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