Skip to main content
PUT
Update Tenant

Authorizations

Authorization
string
header
required

HTTP Bearer Authentication. Generate a shared token via /authenticate/token, then pass it as Authorization: Bearer <token>.

Path Parameters

tenantId
string
required

Body

application/json
email
string<email>
fname
string
lname
string
dni_nie
string

Either dni_nie or passport_id is required. At least one of these identification fields must be provided.

passport_id
string

Either dni_nie or passport_id is required. At least one of these identification fields must be provided.

post_code
string

Postal code (numbers only)

Required string length: 5
Example:

"28013"

dob
string<date>
highest_qualification
enum<string>

Highest education level. Optional; null or "" is ignored and the saved value is kept (it can't be cleared).

Available options:
primary_education,
secondary_education,
vocational_education,
bachelors,
masters,
doctorate,
other_qualification
Example:

"masters"

employment_status
enum<string>
Available options:
employed,
self_employed,
student,
unemployed,
retired,
public_servant
Example:

"employed"

employment_category
enum<string>
Available options:
public_servant,
military,
permanent,
temporary,
permanent_seasonal_worker,
paternity_or_maternity_leave,
medical_leave,
ownACompany,
freelancer
current_annual_income
number
Required range: x >= 0
currency
string
Required string length: 3
Example:

"EUR"

phone_number
string

Phone number (numbers only)

Required string length: 6 - 15
protected_housing_docs
string[]
about_me
string

Response

Successful response

status
enum<string>
Available options:
success
message
string
data
object