Delete Verification Token¶
Deletes a verification token when it’s not needed anymore.
Note
Not necessary to call if /verify
or /change_password
were called,
since they already delete the token.
Resource Information¶
This service uses the tomcat application on port 8080 by default. To see a list of default ports click here
The context for this API is /crafter-profile
, please prefix the API URLs with this context.
HTTP Verb
|
POST
|
URL
|
/api/1/profile/verification_token/:id/delete |
Response Formats
|
JSON |
Parameters¶
Name
|
Type
|
Required
|
Description
|
---|---|---|---|
accessTokenId
|
String
|
✓
|
The access token ID of the application
making the call
|
id
|
String
|
✓
|
The token ID
|
Example¶
Request¶
POST .../api/1/profile/verification_token/de60f56d-3a4b-4dec-b798-fb22b2964c14/delete?accessTokenId=e8f5170c-877b-416f-b70f-4b09772f8e2d
Response¶
Status 200 OK
Responses¶
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|
|
500
|
{ "message" : "Internal server error" } |