Setting applicants account data
Setting applicants account data
Use the /me endpoint in combination with a PUT request to set the applicant account data.
By sending the following PUT-request, you can set an applicants account data:
1 2 |
curl -i -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X PUT "https://api.softgarden.io/api/rest/v2/frontend/me" |
with TOKEN being a user access token. It is used to determine the validity of this request. In the body of the POST-message must be an additional JSON-encoded ApplicantData-object.
Please note that you can not change the applicants username.
Path parameters
– none –
Query parameters
– none –
Response values
Upon | Returned value | Description |
---|---|---|
failure | 500 – INTERNAL SERVER ERROR | When an error appears while processing your request. |
authorization error | 401 / 403 | See here for details. |
You won’t get any feedback if your request succeeds.