Update person
PUT/api/v2/People/:key
Update person
Request
Path Parameters
key stringrequired
Guid or ExternalKey
- application/json
Body
required
- AccessLevel
FirstNamestringnullable
Possible values: <= 25 characters
LastNamestringrequired
Possible values: non-empty
and <= 25 characters
NameSuffixstringnullable
Possible values: <= 25 characters
Codestringnullable
Possible values: <= 100 characters
Emailstringrequired
Possible values: non-empty
and <= 65 characters
, Value must match regular expression ^[-+'_!a-zA-Z0-9]([.]?[-+'_!a-zA-Z0-9])*@([a-zA-Z0-9][-a-zA-Z0-9]*[.])+[a-zA-Z]{2,63}$
PhoneNumberstringnullable
Possible values: <= 30 characters
Notestringnullable
Possible values: <= 500 characters
Inactivebooleannullable
Default value:
false
ClosedPeriodTodate-timenullable
LegislationCountrystringnullable
Possible values: <= 3 characters
Default value:
Set from account country
Languagestringnullable
Possible values: Value must match regular expression ^(en-US|cs-CZ|sk-SK|pl-PL)
Default value:
en-US
ExternalKeystringnullable
Possible values: <= 100 characters
Branchguidnullable
SystemAdminbooleannullable
Default value:
false
TimeTrackingAdminbooleannullable
Default value:
false
VehiclesAdminbooleannullable
Default value:
false
ExpensesAdminbooleannullable
Default value:
false
ContractsAndInvoicingAdminbooleannullable
Default value:
false
ServicesBillingAdminbooleannullable
Default value:
false
BudgetsAdminbooleannullable
Default value:
false
AccessLevel
object
nullable
oneOf
string
Possible values: [Denied
, Allowed
, Terminal
]
Responses
- 200
- 400
- 404
Successfully Updated
- application/json
- Schema
- Example (from schema)
Schema
Guidguidnullable
{
"Guid": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
Error
object
required
Codestringnullable
Messagestringnullable
{
"Error": {
"Code": "string",
"Message": "string"
}
}
Not Found