---
title: Users
description: API reference for Users endpoints.
product: Reference
url: https://docs.digitalocean.com/reference/paperspace/api-reference/users/
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# Users

Generated on 17 Nov 2026

Base URL `https://api.paperspace.com/v1`

## Endpoints

- **GET** [List team members](#teamMemberships-listByTeamId)
- **PUT** [Update a team membership](#teamMemberships-update)
- **DELETE** [Remove a user from a team](#teamMemberships-removeUser)

## GET List team members

`/teams/{teamId}/users`

**Authorizations: BearerAuth**

Http: Bearer

An API key or access token

List team members

#### Path Parameters

`teamId` string required

The team's ID

#### Query Parameters

`after` string optional

Fetch the next page of results after this cursor.

`limit` integer 1 – 120 optional

The number of items to fetch after this page.

`orderBy` string, one of: dtConfirmed optional

Order results by one of these fields.

Default: `dtConfirmed`

`order` string, one of: asc, desc optional

The order to sort the results by.

Default: `desc`

`role` string, one of: member, admin, owner optional

Filter team members by their role on the team.

##### Request: `/teams/{teamId}/users`

### cURL

```bash
curl -X GET \
  -H "Authorization: Bearer $API_TOKEN" \
  "https://api.paperspace.com/v1/teams/{teamId}/users"
```

#### Responses

**200** Successful response

Response Schema: `application/json`

`hasMore` boolean required

Whether there are more pages of results available.

`items` array of object required

The items on this page.

**Show child properties**

`dtConfirmed` string (date-time) optional Nullable

The date the user confirmed their membership

`isAdmin` boolean required

Whether the user is an admin of the team

`isOwner` boolean required

Whether the user is the owner of the team

`user` object required

**Show child properties**

`email` string required

The email address of the user

`firstName` string optional Nullable

The first name of the user

`id` string required

The ID of the user

`lastActive` string (date-time) optional Nullable

The date the user was last active.

`lastName` string optional Nullable

The last name of the user

`publicProfileImageUrl` string optional Nullable

The URL of the team's profile image.

`nextPage` string optional

The cursor required to fetch the next page of results. i.e. `?after=nextPage`. This is `null` when there is no next page.

**default** Error response

Response Schema: `application/json`

`code` string required

`details` object optional

`message` string required

##### Response

**200**

```json
{
  "hasMore": true,
  "items": [
    {
      "dtConfirmed": "2019-08-24T14:15:22Z",
      "isAdmin": true,
      "isOwner": true
    }
  ],
  "nextPage": "string"
}
```

**default**

```json
{
  "code": "string",
  "message": "string"
}
```

* * *

## PUT Update a team membership

`/teams/{teamId}/users/{userId}`

Update a team membership

#### Path Parameters

`teamId` string required

The team's ID

`userId` string required

The user's ID

#### Request Body: `application/json`

`isAdmin` boolean required

Whether the user will gain admin access or not

##### Request: `/teams/{teamId}/users/{userId}`

### Payload

Content type `application/json`

```json
{
  "isAdmin": true
}
```

### cURL

```bash
curl -X PUT \
  -H "Authorization: Bearer $API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "isAdmin": true
}' \
  "https://api.paperspace.com/v1/teams/{teamId}/users/{userId}"
```

#### Responses

**200** Successful response

Response Schema: `application/json`

`dtConfirmed` string (date-time) optional Nullable

The date the user confirmed their membership

`dtDeleted` string (date-time) optional Nullable

The date the user was removed from the team

`isAdmin` boolean required

Whether the user is an admin of the team

`isOwner` boolean required

Whether the user is the owner of the team

**default** Error response

Response Schema: `application/json`

`code` string required

`details` object optional

`message` string required

##### Response

**200**

```json
{
  "dtConfirmed": "2019-08-24T14:15:22Z",
  "dtDeleted": "2019-08-24T14:15:22Z",
  "isAdmin": true,
  "isOwner": true
}
```

**default**

```json
{
  "code": "string",
  "message": "string"
}
```

* * *

## DELETE Remove a user from a team

`/teams/{teamId}/users/{userId}`

Remove a user from a team

#### Path Parameters

`teamId` string required

The team's ID

`userId` string required

The user's ID

##### Request: `/teams/{teamId}/users/{userId}`

### cURL

```bash
curl -X DELETE \
  -H "Authorization: Bearer $API_TOKEN" \
  "https://api.paperspace.com/v1/teams/{teamId}/users/{userId}"
```

#### Responses

**200** Successful response

Response Schema: `application/json`

`dtConfirmed` string (date-time) optional Nullable

The date the user confirmed their membership

`dtDeleted` string (date-time) optional Nullable

The date the user was removed from the team

`isAdmin` boolean required

Whether the user is an admin of the team

`isOwner` boolean required

Whether the user is the owner of the team

**default** Error response

Response Schema: `application/json`

`code` string required

`details` object optional

`message` string required

##### Response

**200**

```json
{
  "dtConfirmed": "2019-08-24T14:15:22Z",
  "dtDeleted": "2019-08-24T14:15:22Z",
  "isAdmin": true,
  "isOwner": true
}
```

**default**

```json
{
  "code": "string",
  "message": "string"
}
```

* * *