Skip to main content

Update Organization Name

PUT https://infrahub-api.nexgencloud.com/v1/auth/organizations/update

Updates the name of your organization. Specify the new organization name in the request body as shown below.


Request body parameters


name string   Required

The new name for your organization.
Minimum length of 3 characters and a maximum length of 50 characters.


Attributes


status boolean

Indicates the status of the request to change the name of your organization, true indicates success, while false indicates error.


message string

A message describing the status of the request.

Example request
curl -X PUT "https://infrahub-api.nexgencloud.com/v1/auth/organizations/update" \
-H "accept: application/json"\
-H "api_key: YOUR API KEY"\
-H "content-type: application/json" \
-d '{
"name": "string"
}'
Response
{
"status": true,
"message": "Updated organization info"
}

Returns


A true status indicates that the name of the organization has been changed successfully. false indicates error.


Back to top