Log out for the user by ID
PUT /api/2.0/security/activeconnections/logoutall/{userId}
Request
Logs out from all the active connections of the user with the ID specified in the request.
Authorization
An API key is a token that you provide when making API calls. Include the token in a cookie parameter called asc_auth_key
.
Example: asc_auth_key=864FE52C-1C1C-469F-9308-51DAFEFE7436
.
Path
- userId
string
uuidrequired User ID
Examples
PUT /api/2.0/security/activeconnections/logoutall/1e3ea815-8c7d-4e72-9d4a-2292de96e8dd HTTP/1.1
Host: example.com
curl --request PUT \
--url https://example.com/api/2.0/security/activeconnections/logoutall/1e3ea815-8c7d-4e72-9d4a-2292de96e8dd
Responses
200
OK
401
Unauthorized
403
Forbidden