logoutDevice
POST
/api/users/logout-device/
User/Authentication
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/users/logout-device/' \
--header 'Content-Type: application/json' \
--data-raw '{
"refresh_token": "string",
"registration_id": "string"
}'
Response Response Example
400 - Example 1
{
"type": "validation_error",
"errors": [
{
"attr": "non_field_errors",
"code": "invalid",
"detail": "string"
}
]
}
Request
Body Params application/json