POST

user/validate-code

Documentation
Test
Headers

POST user/validate-code

Service Parameters

  • [IValidateUserCodeInputPort] input

Parameters

Name Type Required Source Description
data ValidateUserCodeDto Yes Body Parameter
Request
Response

Request

{
  "clientId": "string",
  "userId": "string",
  "userCode": "string"
}

Response

Type: Boolean

false

Authentication

Custom Headers

Sending request...

Examples

cURL
C#
JavaScript
curl -X POST https://authifypass.com/user/validate-code
     -H "Content-Type: application/json"
     -d '{
  "clientId": "string",
  "userId": "string",
  "userCode": "string"
}'                    
using var client = new HttpClient();
client.BaseAddress = new Uri("https://authifypass.com");
using var content = new StringContent({
  "clientId": "string",
  "userId": "string",
  "userCode": "string"
}, System.Text.Encoding.UTF8, "application/json");
using var response = await client.PostAsync("user/validate-code", content);response.EnsureSuccessStatusCode();
var content = await response.Content.ReadAsStringAsync();
fetch("https://authifypass.com/user/validate-code", {
     method: "POST",
     headers: { "Content-Type": "application/json" },
     body: {
  "clientId": "string",
  "userId": "string",
  "userCode": "string"
}})
.then(res => res.json())
.then(data => console.log(data));