Apis::V4::Challenge API

can set focused on creation

Parameters

Name Description
access_token JSON Web Token retrieved from the Sessions endpoint (you can also passthis into the Authorization header)
data The payload data that will be serialized to create the challenge

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMDIsImV4cCI6MTcwNDQ3MzIyOSwiaWF0IjoxNzA0NDczMDQ5fQ.vMqkzS5Cv7xviubzfr_aaG9D7UAb2DZo92Lg3qGNfNE
Host: example.org
Cookie: 

Route

POST /apis/v4/challenges

Body

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMDIsImV4cCI6MTcwNDY0NTg0OSwiaWF0IjoxNzA0NDczMDQ5fQ.fjbRwEw9nczaq-7DvzD4c0O6KtbbyRzDsQ8rlaTczjo
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"2d99153d3b25515dea779e6a2d72c8c4"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 44270c41-195b-4ac5-aa49-3b5ae1893068
X-Runtime: 0.053180
Content-Length: 566

Status

201

Body