Skip to Content
Docs
API referencePlatform API

Members

GET
/instances/{instance_id}/members

List the users holding roles on the instance itself. Everyone else reaches it through its project and workspace.

Path Parameters

instance_id*string

Instance ID

Query Parameters

search?string

Search term matched against name and email

roles?array<string>

Filter by role

page?integer

Page number

limit?integer

Page size (default 25, at most 100)

sort?string

Sort order

Response Body

OK

application/json
  1. response
data?array<>

List of members

object?string

The object type

pagination?

Pagination information

Example Request
curl -X GET 'https://api.pontive.com/v1/instances/string/members'
Example Response
{  "data": [    {      "email": "string",      "email_verified": true,      "family_name": "string",      "given_name": "string",      "joined_at": "2019-08-24T14:15:22Z",      "last_active_at": "2019-08-24T14:15:22Z",      "name": "string",      "object": "string",      "picture": "string",      "roles": [        "string"      ],      "status": "string",      "user_id": "string"    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}

Add an instance member

POST
/instances/{instance_id}/members

Grant roles on the instance to a member of its workspace (admin, developer, support or viewer). This is how a workspace member is given production access.

Path Parameters

instance_id*string

Instance ID

Request Body

Add Instance Member Request

application/json
  1. body

Add Instance Member Request

roles?array<string>

The roles to hold on the instance required: true enum: admin,developer,support,viewer

user_id?string

The user to add. They must already be a member of the instance's workspace; anyone else is invited to the workspace or project first. required: true

Response Body

Created

application/json
  1. response
email?string

The email address of the member

email_verified?boolean

Whether the member's email address has been verified

family_name?string

The family name of the member

given_name?string

The given name of the member

joined_at?string

The time when the member joined the workspace

Formatdate-time
last_active_at?string

The time when the member was last active

Formatdate-time
name?string

The display name of the member

object?string

The object type

picture?string

The profile picture of the member

roles?array<string>

The roles the member holds on the workspace, project or instance the list is of. A workspace member holds owner, admin, billing or developer — or none, for someone added to one of its projects or instances alone. A project member holds admin, developer or viewer; an instance member admin, developer, support or viewer.

status?string

The status of the member's account

user_id?string

The unique identifier of the user

Example Request
curl -X POST 'https://api.pontive.com/v1/instances/string/members' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "email": "string",  "email_verified": true,  "family_name": "string",  "given_name": "string",  "joined_at": "2019-08-24T14:15:22Z",  "last_active_at": "2019-08-24T14:15:22Z",  "name": "string",  "object": "string",  "picture": "string",  "roles": [    "string"  ],  "status": "string",  "user_id": "string"}
PATCH
/instances/{instance_id}/members/{user_id}

Replace the roles a member holds on the instance

Path Parameters

instance_id*string

Instance ID

user_id*string

User ID

Request Body

Update Instance Member Roles Request

application/json
  1. body

Update Instance Member Roles Request

roles?array<string>

The roles to hold on the instance, replacing the member's current ones required: true enum: admin,developer,support,viewer

Response Body

OK

application/json
  1. response
email?string

The email address of the member

email_verified?boolean

Whether the member's email address has been verified

family_name?string

The family name of the member

given_name?string

The given name of the member

joined_at?string

The time when the member joined the workspace

Formatdate-time
last_active_at?string

The time when the member was last active

Formatdate-time
name?string

The display name of the member

object?string

The object type

picture?string

The profile picture of the member

roles?array<string>

The roles the member holds on the workspace, project or instance the list is of. A workspace member holds owner, admin, billing or developer — or none, for someone added to one of its projects or instances alone. A project member holds admin, developer or viewer; an instance member admin, developer, support or viewer.

status?string

The status of the member's account

user_id?string

The unique identifier of the user

Example Request
curl -X PATCH 'https://api.pontive.com/v1/instances/string/members/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "email": "string",  "email_verified": true,  "family_name": "string",  "given_name": "string",  "joined_at": "2019-08-24T14:15:22Z",  "last_active_at": "2019-08-24T14:15:22Z",  "name": "string",  "object": "string",  "picture": "string",  "roles": [    "string"  ],  "status": "string",  "user_id": "string"}
DELETE
/instances/{instance_id}/members/{user_id}

Remove a member from the instance. They stay a member of the workspace, and of the project if they were one.

Path Parameters

instance_id*string

Instance ID

user_id*string

User ID

Response Body

No Content

Example Request
curl -X DELETE 'https://api.pontive.com/v1/instances/string/members/string'
Example Response
Empty

List a project's members

GET
/projects/{project_id}/members

List the users holding roles on the project itself. Workspace members reach every project through the workspace and are listed there.

Path Parameters

project_id*string

Project ID

Query Parameters

search?string

Search term matched against name and email

roles?array<string>

Filter by role

page?integer

Page number

limit?integer

Page size (default 25, at most 100)

sort?string

Sort order

Response Body

OK

application/json
  1. response
data?array<>

List of members

object?string

The object type

pagination?

Pagination information

Example Request
curl -X GET 'https://api.pontive.com/v1/projects/string/members'
Example Response
{  "data": [    {      "email": "string",      "email_verified": true,      "family_name": "string",      "given_name": "string",      "joined_at": "2019-08-24T14:15:22Z",      "last_active_at": "2019-08-24T14:15:22Z",      "name": "string",      "object": "string",      "picture": "string",      "roles": [        "string"      ],      "status": "string",      "user_id": "string"    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}

Add a project member

POST
/projects/{project_id}/members

Grant roles on the project to a member of its workspace. Someone who is not a workspace member is invited instead.

Path Parameters

project_id*string

Project ID

Request Body

Add Project Member Request

application/json
  1. body

Add Project Member Request

roles?array<string>

The roles to hold on the project required: true enum: admin,developer,viewer

user_id?string

The user to add. They must already be a member of the project's workspace; anyone else is invited instead. required: true

Response Body

Created

application/json
  1. response
email?string

The email address of the member

email_verified?boolean

Whether the member's email address has been verified

family_name?string

The family name of the member

given_name?string

The given name of the member

joined_at?string

The time when the member joined the workspace

Formatdate-time
last_active_at?string

The time when the member was last active

Formatdate-time
name?string

The display name of the member

object?string

The object type

picture?string

The profile picture of the member

roles?array<string>

The roles the member holds on the workspace, project or instance the list is of. A workspace member holds owner, admin, billing or developer — or none, for someone added to one of its projects or instances alone. A project member holds admin, developer or viewer; an instance member admin, developer, support or viewer.

status?string

The status of the member's account

user_id?string

The unique identifier of the user

Example Request
curl -X POST 'https://api.pontive.com/v1/projects/string/members' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "email": "string",  "email_verified": true,  "family_name": "string",  "given_name": "string",  "joined_at": "2019-08-24T14:15:22Z",  "last_active_at": "2019-08-24T14:15:22Z",  "name": "string",  "object": "string",  "picture": "string",  "roles": [    "string"  ],  "status": "string",  "user_id": "string"}
PATCH
/projects/{project_id}/members/{user_id}

Replace the roles a member holds on the project (admin, developer or viewer)

Path Parameters

project_id*string

Project ID

user_id*string

User ID

Request Body

Update Project Member Roles Request

application/json
  1. body

Update Project Member Roles Request

roles?array<string>

The roles to hold on the project, replacing the member's current ones required: true enum: admin,developer,viewer

Response Body

OK

application/json
  1. response
email?string

The email address of the member

email_verified?boolean

Whether the member's email address has been verified

family_name?string

The family name of the member

given_name?string

The given name of the member

joined_at?string

The time when the member joined the workspace

Formatdate-time
last_active_at?string

The time when the member was last active

Formatdate-time
name?string

The display name of the member

object?string

The object type

picture?string

The profile picture of the member

roles?array<string>

The roles the member holds on the workspace, project or instance the list is of. A workspace member holds owner, admin, billing or developer — or none, for someone added to one of its projects or instances alone. A project member holds admin, developer or viewer; an instance member admin, developer, support or viewer.

status?string

The status of the member's account

user_id?string

The unique identifier of the user

Example Request
curl -X PATCH 'https://api.pontive.com/v1/projects/string/members/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "email": "string",  "email_verified": true,  "family_name": "string",  "given_name": "string",  "joined_at": "2019-08-24T14:15:22Z",  "last_active_at": "2019-08-24T14:15:22Z",  "name": "string",  "object": "string",  "picture": "string",  "roles": [    "string"  ],  "status": "string",  "user_id": "string"}

Remove a project member

DELETE
/projects/{project_id}/members/{user_id}

Remove a member from the project. They stay a member of the workspace.

Path Parameters

project_id*string

Project ID

user_id*string

User ID

Response Body

No Content

Example Request
curl -X DELETE 'https://api.pontive.com/v1/projects/string/members/string'
Example Response
Empty

List workspace members

GET
/workspaces/{workspace_id}/members

Get a list of the workspace's members

Path Parameters

workspace_id*string

Workspace ID

Query Parameters

search?string

Search term matched against name and email

roles?array<string>

Filter by role

page?integer

Page number

limit?integer

Page size (default 25, at most 100)

sort?string

Sort order

Response Body

OK

application/json
  1. response
data?array<>

List of members

object?string

The object type

pagination?

Pagination information

Example Request
curl -X GET 'https://api.pontive.com/v1/workspaces/string/members'
Example Response
{  "data": [    {      "email": "string",      "email_verified": true,      "family_name": "string",      "given_name": "string",      "joined_at": "2019-08-24T14:15:22Z",      "last_active_at": "2019-08-24T14:15:22Z",      "name": "string",      "object": "string",      "picture": "string",      "roles": [        "string"      ],      "status": "string",      "user_id": "string"    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}

Update a member's roles

PATCH
/workspaces/{workspace_id}/members/{user_id}

Replace the roles a member holds in the workspace. Granting owner, or changing an owner's roles, is an owner's; a token acting for a Pontive user (the Pontive MCP server) is refused it with 403 actor_refused, as ownership is the dashboard's.

Path Parameters

workspace_id*string

Workspace ID

user_id*string

User ID

Request Body

Update Member Roles Request

application/json
  1. body

Update Member Roles Request

roles?array<string>

The roles to grant, replacing the member's current ones. An empty list leaves them a member holding no role: belonging to the workspace for the sake of what they hold on its projects and instances. required: true enum: owner,admin,billing,developer

Response Body

OK

application/json
  1. response
email?string

The email address of the member

email_verified?boolean

Whether the member's email address has been verified

family_name?string

The family name of the member

given_name?string

The given name of the member

joined_at?string

The time when the member joined the workspace

Formatdate-time
last_active_at?string

The time when the member was last active

Formatdate-time
name?string

The display name of the member

object?string

The object type

picture?string

The profile picture of the member

roles?array<string>

The roles the member holds on the workspace, project or instance the list is of. A workspace member holds owner, admin, billing or developer — or none, for someone added to one of its projects or instances alone. A project member holds admin, developer or viewer; an instance member admin, developer, support or viewer.

status?string

The status of the member's account

user_id?string

The unique identifier of the user

Example Request
curl -X PATCH 'https://api.pontive.com/v1/workspaces/string/members/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "email": "string",  "email_verified": true,  "family_name": "string",  "given_name": "string",  "joined_at": "2019-08-24T14:15:22Z",  "last_active_at": "2019-08-24T14:15:22Z",  "name": "string",  "object": "string",  "picture": "string",  "roles": [    "string"  ],  "status": "string",  "user_id": "string"}

Remove a member

DELETE
/workspaces/{workspace_id}/members/{user_id}

Remove a member from the workspace. Removing an owner is an owner's; a token acting for a Pontive user (the Pontive MCP server) is refused it with 403 actor_refused, as ownership is the dashboard's.

Path Parameters

workspace_id*string

Workspace ID

user_id*string

User ID

Response Body

No Content

Example Request
curl -X DELETE 'https://api.pontive.com/v1/workspaces/string/members/string'
Example Response
Empty

List a member's grants

GET
/workspaces/{workspace_id}/members/{user_id}/grants

The roles a workspace member holds on the workspace's projects and instances directly, on top of what their workspace role reaches by inheritance.

Path Parameters

workspace_id*string

Workspace ID

user_id*string

User ID

Query Parameters

page?integer

Page number

limit?integer

Page size (default 25, at most 100)

Response Body

OK

application/json
  1. response
data?array<>

The grants, projects first, then instances, each by name

object?string

The object type

pagination?

Pagination information

Example Request
curl -X GET 'https://api.pontive.com/v1/workspaces/string/members/string/grants'
Example Response
{  "data": [    {      "environment": "string",      "instance_id": "string",      "instance_name": "string",      "joined_at": "2019-08-24T14:15:22Z",      "object": "string",      "project_id": "string",      "project_name": "string",      "resource_type": "string",      "roles": [        "string"      ]    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}
POST
/workspaces/{workspace_id}/transfer-ownership

Hand the workspace to another member, who must already belong to it

Path Parameters

workspace_id*string

Workspace ID

Request Body

Transfer Ownership Request

application/json
  1. body

Transfer Ownership Request

new_owner_id?string

The member who becomes the new owner. They must already be a member. required: true

retain_as?array<string>

The roles the caller keeps once they are no longer an owner. Defaults to admin; an empty list leaves them a member with no role.

Response Body

No Content

Example Request
curl -X POST 'https://api.pontive.com/v1/workspaces/string/transfer-ownership' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
Empty