User

ADD user

post/v2/user

Request

  • Base URL: https://api-gpp-prod.rastreabilidadebrasil.com.br
  • URL: https://api-gpp-prod.rastreabilidadebrasil.com.br/v2/user
  • Auth: none declared

Request body

CTimeinteger
Emailstring
Guidstring
MTimeinteger
Namestring
Usernamestring
UserIdinteger
TenantTreeobject
PermissionsMapobject
Passwordstring
PubKeystring

Example request

{
  "Attributes": {
    "tokenType": "HUMAN",
    "ProfilesToSave": []
  },
  "Email": "GPP-User@GPP-Tenant",
  "Name": "GPP-User@GPP-Tenant",
  "Username": "GPP-User",
  "TenantTree": {},
  "PermissionsMap": {},
  "Password": "123",
  "PubKey": "qwe"
}

Response

ADD user

Example response

{
  "data": [
    {
      "Attributes": {
        "LoginCount": "0",
        "TermsVersion": "b1",
        "tokenType": "HUMAN"
      },
      "Email": "GPP-User@GPP-Tenant",
      "Guid": "a3a3e68e-19af-4e03-b095-df62509d2dc9",
      "Name": "GPP-User",
      "Username": "GPP-User"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.