Revoke all sessions matching employer and or external user
Body
required
application/json
- Type: stringemployer
Id - Type: stringexternal
User Id
Responses
- application/json
- application/json
Request Example for post/sessions/revoke
curl https://sandbox.payroo.com.au/api/v1/embedded/sessions/revoke \
--request POST \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR_SECRET_TOKEN' \
--data '{
"employerId": "",
"externalUserId": ""
}'
{
"revoked": 0
}