Create tenant company member
post
https://user-api.ancon.io/public/api/v1/Tenants/{tenantId}/Companies/{companyId}/MembersAuthorization
Access-TokenheaderrequiredTenant- or outlet-level token from the backoffice. See Get started.
Path parameters
tenantIdstring (uuid)requiredcompanyIdstring (uuid)required
Header parameters
correlationIdstringCorrelation Id for the request
Request body
firstNamestring | nulllastNamestring | nullemailstring | nullphoneNumberstring | nulldepartmentstring | null
Responses
201Created
companyMemberobject | null6 fields in
companyMemberidstring (uuid)fullNamestring | nullnameobject | null2 fields in
namefirstNamestring | nulllastNamestring | null
emailstring | nullphoneNumberstring | nulldepartmentstring | null
400Bad Request
messagestring | nullerrorCodestring (uuid)additionalDataany | null