Organization

This endpoint is used to create, update, search or delete organizations information inside Terrakube.

circle-info

You need to be part of the administrator Active Directory Group to work with this endpoint

circle-exclamation

Entity fields:

Path
Type
Description

data.type

string

Should be "organization"

data.attributes.name

string

Unique name in Terrakube

data.attributes.description

string

Free description

Example:

{
  "data": {
    "type": "organization",
    "attributes": {
      "name": "terrakube",
      "description": "Terrakube Organization"
    }
  }
}

Supported Operations

get

Returns the collection of type organization

Query parameters
filter[organization]stringOptional

Filters the collection of organization using a 'disjoint' RSQL expression

filterstringOptional

Filters the collection of organization using a 'joined' RSQL expression

page[number]integerOptional

Number of pages to return. Can be used with page[size]

page[size]integerOptional

Number of elements per page. Can be used with page[number]

page[offset]integerOptional

Offset from 0 to start paginating. Can be used with page[limit]

page[limit]integerOptional

Maximum number of items to return. Can be used with page[offset]

page[totals]stringOptional

For requesting total pages/records be included in the response page meta data

Responses
get
/organization
200

Successful response

post

Creates an item of type organization

Body
Responses
chevron-right
201

Successful response

application/vnd.api+json
post
/organization
201

Successful response

delete

Deletes an instance of type organization

Path parameters
organizationIdstringRequired

organization Identifier

Responses
delete
/organization/{organizationId}
204

Successful response

No content

patch

Modifies an instance of type organization

Path parameters
organizationIdstringRequired

organization Identifier

Body
Responses
patch
/organization/{organizationId}
204

Successful response

No content

circle-info

For a complete list of organization operation please visit the OpenAPI specificationarrow-up-right

Was this helpful?