POST v1/company/user/setEnabled

WEB - ENABLE/DISABLE COMPANY USER

Request Information

URI Parameters

None.

Body Parameters

CompanyUserSetEnabledRequestModel
NameDescriptionTypeAdditional information
edit_user_id

User ID of the user being edited

string

Required

user_is_enabled

Flag to enable/disable the user

boolean

Required

user_company_id

Company UID of the active user

string

Required

Data type: Text

user_id

User ID (GUID)

string

Required

Data type: Text

user_signature

MD5 hash signature for the active user to validate the request

string

Required

Data type: Text

Request Format

application/json, text/json

Sample:
{
  "edit_user_id": "sample string 1",
  "user_is_enabled": true,
  "user_company_id": "sample string 3",
  "user_id": "sample string 4",
  "user_signature": "sample string 5"
}

Response Information

Resource Description

WEB - ENABLE/DISABLE COMPANY USER

BaseMetaResultModel
NameDescriptionTypeAdditional information
meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}