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.eyJ1c2VyX2lkIjoyMSwiZXhwIjoxNzk0NTQwMTk5LCJpYXQiOjE3OTQ1NDAwMTl9.9m3ZczMQfFRjdUkQwd1HbtzrRiybVx87ueaPUPzvgg4
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.eyJ1c2VyX2lkIjoyMSwiZXhwIjoxNzk0NzEyODE5LCJpYXQiOjE3OTQ1NDAwMTl9.hlkiP7jlN8YCZF-U-ivC5Zm2vzcD7O2ViB39GzTEgS0
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"b8aa233b2b1058d92410715e5a5ce4dd"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 5780258e-6305-448d-979c-aae7b4142140
X-Runtime: 0.091622
Content-Length: 565

Status

201

Body