Update an organization by ID for a User
PUT/v1/organizations/:id
Update an organization by ID for a User
Request
Path Parameters
id stringrequired
- application/json
Body
required
name stringrequired
Possible values: <= 50 characters
The name of the organization
Responses
- 200
- 404
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
The unique ID of the organization
name stringrequired
The name of the organization
plan object
name stringrequired
Possible values: [pro_monthly, pro_yearly, team_monthly, team_yearly]
The name of the organization's plan
status stringrequired
Possible values: [PENDING, ACTIVE, INCOMPLETE, CANCELED]
The status of the organization's plan
{
"id": "abc123",
"name": "My Organization",
"plan": {
"name": "pro_monthly",
"status": "PENDING"
}
}
Organization not found or not accessible
Loading...