Skip to content

List the organization's active people

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

For choosing who may see a restricted model. Its active service accounts are listed too, with serviceAccount true and no address: a restricted model is shared with one the same way.

OK

Media typeapplication/json
Array<object>
object
id
required
string format: uuid
email
required
string
displayName
required
string
roles
required
Array<string>
serviceAccount
boolean

Example generated

[
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"email": "example",
"displayName": "example",
"roles": [
"example"
],
"serviceAccount": true
}
]

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"
}