4.11. Deleting and invalidating an authorization

Authorizations can be invalidated and deleted by deleting the resource.

Example 4.19. DELETE /authorizations/{id}

HTTP Status Codes

204: Authorization was deleted

404: Invalid authorization state or authorization does not exist


Example 4.20. Example HTTP Request

DELETE /connectapi/authorizations/AXJD28237XSDHJS18928 HTTP/1.1
Timestamp: 2012-12-31T12:00:00+02:00
Content-MD5: ubewX5M7uzz64zskr7FThQ==
Authorization: PaytrailConnectAPI 13466:EFjhnqj4fKUQ/ySGgnllL+aB9PsXGcandzKgzMWapK0=

Example 4.21. Example HTTP Response

HTTP/1.1 204 No Content