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
dob
string<date>
employment_status
enum<string>
Available options:
employed,
self_employed,
student,
unemployed,
retired,
public_servant
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
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