Use this to create a new MFA challenge response to job step: mfa-challenge

🚧

Authorization

Ensure that you generate an authentication token with

  • scope= CLIENT_ACCESS and
  • basiq-version = 2.1

to create this resource

Arguments

mfa-response
array of strings

One time password or answer to a security question/s e.g. ["1234"]

POST /jobs/{job.id}/mfa

Returns

Returns a job if MFA response was correct. Returns an error otherwise.

POST /jobs/61723/mfa HTTP/1.1
Authorization: Bearer YOUR_ACCESS_TOKEN
Content-Type: application/json

{
  "mfa-response": ["1234"]
}
POST /jobs/61723/mfa HTTP/1.1
Authorization: Bearer YOUR_ACCESS_TOKEN
Content-Type: application/json

{
  "mfa-response": ["Basiq", "AU00002"]
}
POST /jobs/61723/mfa HTTP/1.1
Authorization: Bearer YOUR_ACCESS_TOKEN
Content-Type: application/json

{
  "mfa-response": ["confirmed"]
}
HTTP/1.1 202 Accepted
Content-Type: application/json
{
  "type": "job",
  "id": "61723",
  "links": {
    "self": "https://au-api.basiq.io/jobs/61723"
  }
}