Skip to Content
Organizations

Update an existing organization

PUT
/organizations/{organization_id}

Path Parameters

organization_id*string

The numeric ID or URL Slug of an organization.

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Request Body

A JSON object containing the resource data

application/json
  1. body
id*string

The unique ID of the given Organization.

name*string

The Name of the organization. Must not be greater than 255 characters.

url_slug*string

The URL Slug of the organization. Must not be greater than 30 characters.

Response Body

No Content

Example Request
curl -X PUT 'https://api.devopness.com/organizations/johndoe' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json' \  -H 'Content-Type: application/json' \  -d '{  "id": 1,  "name": "My Org",  "url_slug": "MyOrg"}'
Example Response
Empty