POST api/Accounts/Deauthorise?ExternalID={ExternalID}&Device={Device}
Deauthorise a particular device against the user account
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ExternalID |
User's external ID |
string |
Required |
Device |
User's device |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Account model
AccountModelName | Description | Type | Additional information |
---|---|---|---|
ID |
The ID for the user |
globally unique identifier |
None. |
ExternalID |
User's external ID |
string |
Required |
Name |
User's name |
string |
None. |
DOB |
User's date of birth |
date |
None. |
Gender |
User's gender |
string |
None. |
Devices |
User's devices |
string |
None. |
Country |
User's country |
string |
None. |
Age |
User's age |
integer |
None. |
Location |
User's location |
string |
None. |
Created |
Date user was added to the system |
date |
None. |
HasDevices |
Whether user has devices |
boolean |
None. |
OrganisationName | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": "e1deb9ae-8209-4bb2-a3b3-9690eab0c01a", "ExternalID": "sample string 2", "Name": "sample string 3", "DOB": "2023-05-22T07:47:21.5497198+00:00", "Gender": "sample string 4", "Devices": "sample string 5", "Country": "sample string 6", "Age": 1, "Location": "sample string 8", "Created": "2023-05-22T07:47:21.5497198+00:00", "HasDevices": true, "OrganisationName": "sample string 9" }
application/xml, text/xml
Sample:
<AccountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tekasco.HealthStream.Models.Accounts"> <Age>1</Age> <Country>sample string 6</Country> <Created>2023-05-22T07:47:21.5497198+00:00</Created> <DOB>2023-05-22T07:47:21.5497198+00:00</DOB> <Devices>sample string 5</Devices> <ExternalID>sample string 2</ExternalID> <Gender>sample string 4</Gender> <HasDevices>true</HasDevices> <ID>e1deb9ae-8209-4bb2-a3b3-9690eab0c01a</ID> <Location>sample string 8</Location> <Name>sample string 3</Name> <OrganisationID>4a88408c-0eec-4187-9afa-70123c57fbac</OrganisationID> <OrganisationName>sample string 9</OrganisationName> </AccountModel>