Path Parameters
The UUID of the workspace
curl --request GET \
--url https://api.xenia.team/api/v1/task/workspaces/{workspaceId}/authorized/users \
--header 'x-client-key: <api-key>' \
--header 'x-client-secret: <api-key>'{
"data": [
{
"photo": "<string>",
"fullName": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"firstName": "<string>",
"lastName": "<string>",
"emailId": "<string>",
"phoneNo": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"UserHotels": [
{
"HotelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"defaultLocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pin": "<string>",
"status": "<string>",
"isAdmin": true,
"RoleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deletedAt": "2023-11-07T05:31:56Z",
"Role": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"order": 123,
"Permissions": {
"CAN_MANAGE_WORKSPACES": true,
"CAN_MANAGE_WORKSPACE_CONFIG": true,
"CAN_MANAGE_BILLING": true,
"CAN_TOGGLE_KIOSK_MODE": true,
"CAN_MANAGE_ACTIVITY_LOGS": true
}
}
}
],
"UserLocations": [
{
"LocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"RoleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"defaultLocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"UserHotel": {
"HotelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"defaultLocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pin": "<string>",
"status": "<string>",
"isAdmin": true,
"RoleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deletedAt": "2023-11-07T05:31:56Z",
"Role": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"order": 123,
"Permissions": {
"CAN_MANAGE_WORKSPACES": true,
"CAN_MANAGE_WORKSPACE_CONFIG": true,
"CAN_MANAGE_BILLING": true,
"CAN_TOGGLE_KIOSK_MODE": true,
"CAN_MANAGE_ACTIVITY_LOGS": true
}
}
}
}
],
"extra_meta": {
"message": "<string>"
}
}Fetches all users authorized in the given workspace
curl --request GET \
--url https://api.xenia.team/api/v1/task/workspaces/{workspaceId}/authorized/users \
--header 'x-client-key: <api-key>' \
--header 'x-client-secret: <api-key>'{
"data": [
{
"photo": "<string>",
"fullName": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"firstName": "<string>",
"lastName": "<string>",
"emailId": "<string>",
"phoneNo": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"UserHotels": [
{
"HotelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"defaultLocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pin": "<string>",
"status": "<string>",
"isAdmin": true,
"RoleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deletedAt": "2023-11-07T05:31:56Z",
"Role": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"order": 123,
"Permissions": {
"CAN_MANAGE_WORKSPACES": true,
"CAN_MANAGE_WORKSPACE_CONFIG": true,
"CAN_MANAGE_BILLING": true,
"CAN_TOGGLE_KIOSK_MODE": true,
"CAN_MANAGE_ACTIVITY_LOGS": true
}
}
}
],
"UserLocations": [
{
"LocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"RoleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"defaultLocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"UserHotel": {
"HotelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"defaultLocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pin": "<string>",
"status": "<string>",
"isAdmin": true,
"RoleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deletedAt": "2023-11-07T05:31:56Z",
"Role": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"order": 123,
"Permissions": {
"CAN_MANAGE_WORKSPACES": true,
"CAN_MANAGE_WORKSPACE_CONFIG": true,
"CAN_MANAGE_BILLING": true,
"CAN_TOGGLE_KIOSK_MODE": true,
"CAN_MANAGE_ACTIVITY_LOGS": true
}
}
}
}
],
"extra_meta": {
"message": "<string>"
}
}The UUID of the workspace