Documentation Sweet Pricing API

DELETE / sessions / :token

This endpoint will expire a user's session, so that any further API requests using the session token will error with a 401 Unauthorized response.

URL

https://api.sweetpricing.com/v1.0/sessions/:token

Header

Field Type Description
Authorization String

Header of form api-key <API key>

Authorization: api-key <API Key>

Parameters

Field Type Description
:token Number

Session token to expire.

401

Name Description
401

You are not authenticated to perform the request.

403

Name Description
403

You are not allowed to view/modify this resource.

404

Name Description
404

Resource not found.