POST pretokenized/mac
POST /api/v1/pretokenised/mac
Calculates a request MAC for an already-tokenized body.
Authenticate with an API key or a portal session token.
Request body
application/json any
Responses
200 Successful response.
application/json ReceiptsMac
macstring requiredPattern:^[a-f0-9]{64}$. Example:"9f2c4b8d6e1a3f50718293a4b5c6d7e8f90123456789abcdef0123456789abcd"
Generated sample
{
"mac": "9f2c4b8d6e1a3f50718293a4b5c6d7e8f90123456789abcdef0123456789abcd"
}401 A valid tenant credential is required.
application/json ReceiptsMacAuthError
errorobject requiredcodestring requiredtypestring required
403 The authenticated principal lacks the required permission.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
413 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
415 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
422 The request failed validation.
application/json ReceiptsMacAuthError
errorobject requiredcodestring requiredtypestring required
429 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string