Skip to content

POST account activate

tristanls edited this page Dec 1, 2012 · 1 revision

POST https://api.worker.crxtalk.com/account/:accountName/activate

Activate account specified by :accountName.

HTTP method POST
Requires login false

Parameters

:accountName tristan required The name of the account to be activated
activationToken d98244e14d6dfec1485d810ac0c2ae3dda3d078f79... required The activation token for the account

Response fields

Response

activated true true or false depending on whether the account was activated
### Error
message Missing 'account' Error information

Example

POST https://api.worker.crxtalk.com/account/tristan/activate

{
  "activationToken" : "d98244e14d6dfec1485d810ac0c2ae3dda3d078f79..."
}

Response:

200 OK
{ 
  "response" : {
    "activated" : true
  }
}

Error:

401 Unauthorized
{ "error" : { "message" : "Unauthorized" } }
Clone this wiki locally