Updates an organization
The organization id.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEY
This class represents the request model for command requests related to organizations.
The country code of the organization.
US
The language code of the organization.
en
The name of the organization.
Organization Name
The description of the organization.
Organization Description
The avatar of the organization.
https://example.com/avatar.png
The is private of the organization. By default, it is set to false.
true
The is default of the organization. By default, it is set to false.
true
This enum is used to define the common status of an object in JFW.
Supported values:
The request was successful.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
The user's access was denied.
API call exceeded rate limit due to too many requests.
PUT /api/v1/organizations/{id} HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 204
{
"countryCode": "US",
"languageCode": "en",
"name": "Organization Name",
"description": "Organization Description",
"avatar": "https://example.com/avatar.png",
"isPrivate": true,
"isDefault": true,
"status": "Inactive"
}
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": true,
"errors": []
}
Last updated
Was this helpful?