Activate user

Sends a token to activate a user account.

Request
path Parameters
token
required
string

Token string.

Responses
204

User account activated.

422

Invalid data sent.

post/activation/{token}
Request samples
try {
    $client->users()->activate('token');
} catch (Rebilly\Http\Exception\DataValidationException $e) {
    print_r($e->getValidationErrors());
}
Response samples
application/json
{
  • "status": 422,
  • "title": "string",
  • "detail": "string",
  • "instance": "string",
  • "invalidFields": [
    ]
}