Organization

get
Authorizations
sessionidstringRequired

Log in using the POST /api/v1/auth/ endpoint

Responses
200Success
application/json
get
/api/v1/organization/
GET /api/v1/organization/ HTTP/1.1
Host: /
Accept: */*
200Success
[
  {
    "name": "text",
    "id": 1
  }
]
post
Authorizations
sessionidstringRequired

Log in using the POST /api/v1/auth/ endpoint

Body
namestring · max: 64Required
idintegerRead-onlyOptional
Responses
post
/api/v1/organization/
POST /api/v1/organization/ HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
201Success
{
  "name": "text",
  "id": 1
}
get
Authorizations
sessionidstringRequired

Log in using the POST /api/v1/auth/ endpoint

Path parameters
idintegerRequired
Responses
200Success
application/json
get
/api/v1/organization/{id}/
GET /api/v1/organization/{id}/ HTTP/1.1
Host: /
Accept: */*
200Success
{
  "name": "text",
  "id": 1
}
delete
Authorizations
sessionidstringRequired

Log in using the POST /api/v1/auth/ endpoint

Path parameters
idintegerRequired
Responses
delete
/api/v1/organization/{id}/
DELETE /api/v1/organization/{id}/ HTTP/1.1
Host: /
Accept: */*
204

No response body

No content

patch
Authorizations
sessionidstringRequired

Log in using the POST /api/v1/auth/ endpoint

Path parameters
idintegerRequired
Body
namestring · max: 64Optional
idintegerRead-onlyOptional
Responses
200Success
application/json
patch
/api/v1/organization/{id}/
PATCH /api/v1/organization/{id}/ HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
200Success
{
  "name": "text",
  "id": 1
}

Last updated

Was this helpful?