Skip to main content
POST
Update or delete a tenant

Authorizations

Authorization
string
header
required

All API requests must include a valid Bearer token in the Authorization header. Tokens are 64-character SHA-256 session hashes issued by the PropOps authentication system.

Example:

Body

application/json
action
enum<string>
required
Available options:
update,
delete
uuid
string<uuid>
required
Example:

"990e8400-e29b-41d4-a716-446655440001"

csrf_token
string
required
Example:

"abc123def456"

tenant_name
string
Example:

"Tenant_001"

tenant_email
string<email>
Example:

"tenant001@example.com"

tenant_number_primary
string
Example:

"07700000003"

Response

Tenant updated/deleted

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"