Zum Hauptinhalt springen

Update organization

Update organization

Path Parameters
organizationId uuid REQUIRED
Header Parameters
organization-id uuid

ID of organization context this request belongs to.

Request Body REQUIRED
address object

Address of the company

city string REQUIRED

Possible values: length ≤ 90

number string REQUIRED

Possible values: length ≤ 10

street string REQUIRED

Possible values: length ≤ 90

zipCode string REQUIRED

Possible values: length ≤ 15

email email

Possible values: 3 ≤ length ≤ 64

Required when creating an organization, optional when updating an organization.

name string

Possible values: 3 ≤ length ≤ 50

Required when creating an organization, optional when updating an organization.

registrationNumber string

Possible values: length ≤ 90

Registration number of the company

Responses
200

Organization successfully updated

Schema OPTIONAL
email string OPTIONAL
id uuid OPTIONAL
name string OPTIONAL
provider boolean OPTIONAL
address object OPTIONAL
city string OPTIONAL
number string OPTIONAL
street string OPTIONAL
zipCode string OPTIONAL
registrationNumber string OPTIONAL
contacts object[] OPTIONAL
id uuid OPTIONAL
createdAt date-time OPTIONAL
createdById uuid OPTIONAL
defaultContact boolean OPTIONAL
email string OPTIONAL
name string OPTIONAL
phone string OPTIONAL
active boolean OPTIONAL
400

Bad Request (e.g. element not found or resource conflict).

Schema OPTIONAL
message string OPTIONAL
timestamp date-time OPTIONAL
traceId string OPTIONAL
type string OPTIONAL
403

Missing permission

Schema OPTIONAL
message string OPTIONAL
timestamp date-time OPTIONAL
traceId string OPTIONAL
type string OPTIONAL
500

Internal server error (Internal service communication or process error).

Schema OPTIONAL
message string OPTIONAL
timestamp date-time OPTIONAL
traceId string OPTIONAL
type string OPTIONAL