POST /api/users/resendActivation

Resends an activation code to a user who is signing up for the platform.

Authorization Roles/Permissions: Anyone can use this operation; only a valid email address is required. At the point this operation might be invoked the user hasn't yet signed up.

This topic includes the following sections:

HTTP Method

POST

URL

https://{hostname}/api/users/resendActivation

Sample Request

The example below shows a request for a resend of the activation code to the specified email address. The POST content must be encoded; in the example below it is sent as emailAddress=jane.saoirse%acmepaymentscorp.com.

Sample Request URL

https://{hostname}/api/users/resendActivation

Sample request headers

POST /api/users/resendActivation HTTP/1.1
Host: {hostname}
Accept: */*
Content-Type: application/x-www-form-urlencoded; charset=UTF-8

Sample request body

emailAddress=jane.saoirse@acmepaymentscorp.com

Request Headers

For general information on request header values, refer to HTTP Request Headers.

Header Description
Accept application/json, application/vnd.soa.v71+json, application/vnd.soa.v72+json, application/vnd.soa.v80+json, application/vnd.soa.v81+json
Content-Type application/x-www-form-urlencoded

Request Parameters

Parameter Parm Type Data Type Required Description
emailAddress Form string Required The email address of the user who is trying to sign up; the address to which the activation code should be resent.

Response

If successful, this operation returns HTTP status code 200. There is no response content, but the activation code is resent to the specified email address.

Sample Response

The sample response below shows successful completion of this operation.

Sample response headers

HTTP/1.1 200 OK
Cache-Control: no-cache
Wed, 19 Jun 2013 17:17:03 GMT

Sample response body

None.

Response Headers

For general information on response header values, refer to HTTP Response Headers.

Header Description
Content-Type application/json, application/vnd.soa.v71+json, application/vnd.soa.v72+json, application/vnd.soa.v80+json, application/vnd.soa.v81+json

Response Body

None.

Error Codes/Messages

If the call is unsuccessful an error code/message is returned. One or more examples of possible errors for this operation are shown below.

Item Value
405 Method Not Allowed. You might get this if there is an error in the URL, or if you used the wrong HTTP verb.
500 An error occurred processing the call.

More information about Akana API Platform API error messages.