Apis::V4::Challenge API

defaults focus to false

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/"157dbf184dcb0683700126b84fa3ae2b"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 2c78889d-ea63-4e03-a710-b2bd3052bd18
X-Runtime: 0.053556
Content-Length: 567

Status

201

Body