NAME

OpenAPI::Client::OpenAI::Path::organization-projects-project_id-users-user_id - Documentation for the /organization/projects/{project_id}/users/{user_id} path.

DESCRIPTION

This document describes the API endpoint at /organization/projects/{project_id}/users/{user_id}.

PATHS

DELETE /organization/projects/{project_id}/users/{user_id}

Deletes a user from the project.

Operation ID

delete-project-user

$client->delete-project-user( ... );

Parameters

  • project_id (in path) (Required) - The ID of the project.

    Type: string

  • user_id (in path) (Required) - The ID of the user.

    Type: string

Responses

Status Code: 200

Project user deleted successfully.

Content Types:

Status Code: 400

Error response for various conditions.

Content Types:

GET /organization/projects/{project_id}/users/{user_id}

Retrieves a user in the project.

Operation ID

retrieve-project-user

$client->retrieve-project-user( ... );

Parameters

  • project_id (in path) (Required) - The ID of the project.

    Type: string

  • user_id (in path) (Required) - The ID of the user.

    Type: string

Responses

Status Code: 200

Project user retrieved successfully.

Content Types:

  • application/json

    Example (See the OpenAI spec for more detail):

    {
        "object": "organization.project.user",
        "id": "user_abc",
        "name": "First Last",
        "email": "user@example.com",
        "role": "owner",
        "added_at": 1711471533
    }

POST /organization/projects/{project_id}/users/{user_id}

Modifies a user's role in the project.

Operation ID

modify-project-user

$client->modify-project-user( ... );

Parameters

  • project_id (in path) (Required) - The ID of the project.

    Type: string

  • user_id (in path) (Required) - The ID of the user.

    Type: string

Request Body

Content Type: application/json

Responses

Status Code: 200

Project user's role updated successfully.

Content Types:

  • application/json

    Example (See the OpenAI spec for more detail):

    {
        "object": "organization.project.user",
        "id": "user_abc",
        "name": "First Last",
        "email": "user@example.com",
        "role": "owner",
        "added_at": 1711471533
    }

Status Code: 400

Error response for various conditions.

Content Types:

SEE ALSO

OpenAPI::Client::OpenAI::Path

COPYRIGHT AND LICENSE

Copyright (C) 2023-2025 by Nelson Ferraz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.0 or, at your option, any later version of Perl 5 you may have available.