api_auth

<back to all web services

ConfirmRequest

The following routes are available for this service:
GET/api/confirm/{Type}/{Code}Returns html with basic user interface to confirm pending confirmation request
POST/api/confirm/{Type}/{Code}Confirms pending operation represented by specified confirmation request
ConfirmRequest Parameters:
NameParameterData TypeRequiredDescription
TypepathstringNo
CodepathstringNoSecret code that was sent to user by email and\or telephone to confirm target operation

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/confirm/{Type}/{Code} HTTP/1.1 
Host: 1.hyper.id 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	type: String,
	code: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

(string)