Skip to content

Get the organization's seats

GET
/api/settings/people/seats
curl --request GET \
--url https://forge.example.com/api/settings/people/seats \
--header 'Authorization: Bearer <token>'

How many it has (null for no limit), its active people, and the invitations waiting, each of which holds a seat. For administrators.

OK

Media typeapplication/json
object
seats
required
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
people
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
waiting
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Example generated

{
"seats": 1,
"people": 1,
"waiting": 1
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}