Status code 401 Unauthorized
Description The access token passed in the Authorization
HTTP header has expired and cannot be used anymore. Renew the access token and resubmit the request.
The WWW-Authenticate
HTTP response header also provides error information compliant with the OAuth2 specification.
POST /enterprises
Authorization: Bearer ds4d2f13sdds2q13qxcgbdf245
HTTP/1.1 401 Unauthorized
Content-Type: application/problem+json
WWW-Authenticate: Bearer realm="example", error="invalid_token", error_description="The access token expired"
{
"type": "urn:problem-type:belgif:expiredAccessToken",
"href": "https://www.belgif.be/specification/rest/api-guide/problems/expiredAccessToken.html",
"status": 401,
"title": "Expired Access Token",
"detail": "The Bearer access token found in the Authorization HTTP header has expired"
}