User information
User Info
Authorization information is missing or invalid
Internal server error
{- "id": 0,
- "username": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "full_name": "string",
- "is_staff": true,
- "is_superuser": true,
- "is_active": true,
- "profile": {
- "id": 0,
- "enterprise_user_id": "string",
- "authn_user_id": "77ba949a-db0b-4544-a77c-b27f70fe06cd",
- "authn_connection_id": "500f8424-a17b-4138-9b34-dcf4c445232c",
- "authz_role_id": "c85d5e04-56ba-49f9-8ef1-94165471fa4c",
- "role": "Shoonya Admin",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "is_customer": true,
- "is_endpoint_creator": true,
- "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "setup_wizard_complete": true,
- "default_password_changed": true,
- "is_developer": true,
- "can_factory_reset": true,
- "groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "path": "string",
- "device_count": 0
}
]
}, - "emm": {
- "id": 0,
- "user": 0,
- "account_identifier": "string",
- "account_type": "string",
- "display_name": "string",
- "google_user_id": "string",
- "google_enterprise": 0,
- "is_active": true,
- "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "authentication_token": {
- "id": 0,
- "token": "string",
- "is_active": true,
- "updated_on": "2019-08-24T14:15:22Z"
}
}, - "last_login": "string",
- "token": "string",
- "has_emm": true,
- "is_email_verified": true
}
Invite a user to a tenant
Invite sent to user
tenant user invite create error
Unauthorized
{- "email": "user@example.com",
- "meta": {
- "email": "user@example.com",
- "profile": {
- "role": "Enterprise Admin",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "groups": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "authz_role_id": "c85d5e04-56ba-49f9-8ef1-94165471fa4c"
}
}, - "connection_id": "string"
}
{- "id": "string",
- "email": "user@example.com",
- "tenant_id": "string",
- "idp_invite_id": "string",
- "meta": { },
- "connection_id": "string",
- "send_invitation_email": true,
- "invitation_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
List user invites in a tenant
Tenant user invites
List tenant user invites error
Unauthorized
{- "count": 0,
- "userinvites": [
- {
- "id": "string",
- "email": "user@example.com",
- "tenant_id": "string",
- "idp_invite_id": "string",
- "meta": { },
- "connection_id": "string",
- "send_invitation_email": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Delete a invite
Deleted tenant user invite
Tenant user invite delete error
Unauthorized
{- "status": 0,
- "code": 0,
- "error": "string",
- "errors": [
- "string"
], - "message": "string"
}
Get a list of users in the tenant
Users List
Authorization information is missing or invalid
Internal server error
{- "count": 0,
- "previous": "string",
- "next": "string",
- "results": [
- {
- "id": 0,
- "username": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "full_name": "string",
- "is_staff": true,
- "is_superuser": true,
- "is_active": true,
- "profile": {
- "id": 0,
- "enterprise_user_id": "string",
- "authn_user_id": "77ba949a-db0b-4544-a77c-b27f70fe06cd",
- "authn_connection_id": "500f8424-a17b-4138-9b34-dcf4c445232c",
- "authz_role_id": "c85d5e04-56ba-49f9-8ef1-94165471fa4c",
- "role": "Shoonya Admin",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "is_customer": true,
- "is_endpoint_creator": true,
- "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "setup_wizard_complete": true,
- "default_password_changed": true,
- "is_developer": true,
- "can_factory_reset": true,
- "groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "path": "string",
- "device_count": 0
}
]
}, - "emm": {
- "id": 0,
- "user": 0,
- "account_identifier": "string",
- "account_type": "string",
- "display_name": "string",
- "google_user_id": "string",
- "google_enterprise": 0,
- "is_active": true,
- "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "authentication_token": {
- "id": 0,
- "token": "string",
- "is_active": true,
- "updated_on": "2019-08-24T14:15:22Z"
}
}, - "last_login": "string",
- "token": "string",
- "has_emm": true
}
]
}
Get User Information
User Details
Authorization information is missing or invalid
Not Found
Internal server error
{- "id": 0,
- "username": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "full_name": "string",
- "is_staff": true,
- "is_superuser": true,
- "is_active": true,
- "profile": {
- "id": 0,
- "enterprise_user_id": "string",
- "authn_user_id": "77ba949a-db0b-4544-a77c-b27f70fe06cd",
- "authn_connection_id": "500f8424-a17b-4138-9b34-dcf4c445232c",
- "authz_role_id": "c85d5e04-56ba-49f9-8ef1-94165471fa4c",
- "role": "Shoonya Admin",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "is_customer": true,
- "is_endpoint_creator": true,
- "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "setup_wizard_complete": true,
- "default_password_changed": true,
- "is_developer": true,
- "can_factory_reset": true,
- "groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "path": "string",
- "device_count": 0
}
]
}, - "emm": {
- "id": 0,
- "user": 0,
- "account_identifier": "string",
- "account_type": "string",
- "display_name": "string",
- "google_user_id": "string",
- "google_enterprise": 0,
- "is_active": true,
- "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "authentication_token": {
- "id": 0,
- "token": "string",
- "is_active": true,
- "updated_on": "2019-08-24T14:15:22Z"
}
}, - "last_login": "string",
- "token": "string",
- "has_emm": true,
- "is_email_verified": true
}
Update user's role
User Updated Successfully
Bad Request
Unauthorized
Forbidden, no permission to perform this action.
{- "authz_role_id": "c85d5e04-56ba-49f9-8ef1-94165471fa4c",
- "can_factory_reset": true,
- "has_all_group_access": true,
- "groups": [
- "string"
], - "role": "Shoonya Admin"
}
{- "id": 0,
- "username": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "full_name": "string",
- "is_staff": true,
- "is_superuser": true,
- "is_active": true,
- "profile": {
- "id": 0,
- "enterprise_user_id": "string",
- "authn_user_id": "77ba949a-db0b-4544-a77c-b27f70fe06cd",
- "authn_connection_id": "500f8424-a17b-4138-9b34-dcf4c445232c",
- "authz_role_id": "c85d5e04-56ba-49f9-8ef1-94165471fa4c",
- "role": "Shoonya Admin",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "is_customer": true,
- "is_endpoint_creator": true,
- "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "setup_wizard_complete": true,
- "default_password_changed": true,
- "is_developer": true,
- "can_factory_reset": true,
- "groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "path": "string",
- "device_count": 0
}
]
}, - "emm": {
- "id": 0,
- "user": 0,
- "account_identifier": "string",
- "account_type": "string",
- "display_name": "string",
- "google_user_id": "string",
- "google_enterprise": 0,
- "is_active": true,
- "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "authentication_token": {
- "id": 0,
- "token": "string",
- "is_active": true,
- "updated_on": "2019-08-24T14:15:22Z"
}
}, - "last_login": "string",
- "token": "string",
- "has_emm": true,
- "is_email_verified": true
}
Update user's profile
User Updated Successfully
Bad Request
Unauthorized
Forbidden, no permission to perform this action.
{- "first_name": "string"
}
{- "id": 0,
- "username": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "full_name": "string",
- "is_staff": true,
- "is_superuser": true,
- "is_active": true,
- "profile": {
- "id": 0,
- "enterprise_user_id": "string",
- "authn_user_id": "77ba949a-db0b-4544-a77c-b27f70fe06cd",
- "authn_connection_id": "500f8424-a17b-4138-9b34-dcf4c445232c",
- "authz_role_id": "c85d5e04-56ba-49f9-8ef1-94165471fa4c",
- "role": "Shoonya Admin",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "is_customer": true,
- "is_endpoint_creator": true,
- "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "setup_wizard_complete": true,
- "default_password_changed": true,
- "is_developer": true,
- "can_factory_reset": true,
- "groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "path": "string",
- "device_count": 0
}
]
}, - "emm": {
- "id": 0,
- "user": 0,
- "account_identifier": "string",
- "account_type": "string",
- "display_name": "string",
- "google_user_id": "string",
- "google_enterprise": 0,
- "is_active": true,
- "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "authentication_token": {
- "id": 0,
- "token": "string",
- "is_active": true,
- "updated_on": "2019-08-24T14:15:22Z"
}
}, - "last_login": "string",
- "token": "string",
- "has_emm": true,
- "is_email_verified": true
}
Get user's groups
User Groups
Bad Request
Unauthorized
Forbidden, no permission to perform this action.
{- "group_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "has_all_group_access": true
}
Delete a user from Enterprise
Deleted enterprise user
Enterprise user delete error
Unauthorized
{- "status": 0,
- "code": 0,
- "error": "string",
- "errors": [
- "string"
], - "message": "string"
}