Atoka API User Reference

v20240520.1207

User Details

With this endpoint you will get the details of an user given its appUserId

https://api.atoka.io/v2/app/users/{appUserId}

Replace {appUserId} with user identifier in the third party application.

All requests must be properly authenticated.

Authentication

Parameters
  • token string required

    All requests must be properly authenticated; see the Authentication section for more info

curl -G "https://api.atoka.io/v2/app/users/{appUserId}"

Response

The user object

{
"item": {
"id": 42,
"name": "foo",
"appUserId": "foo",
"perimeters": {
"foo": undefined,
"bar": undefined,
"baz": undefined
},
"peoplePerimeters": {
"foo": undefined,
"bar": undefined,
"baz": undefined
}
}
}

User Delete

With this endpoint you will delete an user given its appUserId

https://api.atoka.io/v2/app/users/{appUserId}

Replace {appUserId} with user identifier in the third party application.

All requests must be properly authenticated.

Authentication

Parameters
  • token string required

    All requests must be properly authenticated; see the Authentication section for more info

curl -XDELETE "https://api.atoka.io/v2/app/users/{appUserId}"

Response

Delete Response