NAME

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

DESCRIPTION

This document describes the API endpoint at /organization/projects/{project_id}/service_accounts/{service_account_id}.

PATHS

DELETE /organization/projects/{project_id}/service_accounts/{service_account_id}

Deletes a service account from the project.

Operation ID

delete-project-service-account

$client->delete-project-service-account( ... );

Parameters

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

    Type: string

  • service_account_id (in path) (Required) - The ID of the service account.

    Type: string

Responses

Status Code: 200

Project service account deleted successfully.

Content Types:

GET /organization/projects/{project_id}/service_accounts/{service_account_id}

Retrieves a service account in the project.

Operation ID

retrieve-project-service-account

$client->retrieve-project-service-account( ... );

Parameters

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

    Type: string

  • service_account_id (in path) (Required) - The ID of the service account.

    Type: string

Responses

Status Code: 200

Project service account retrieved successfully.

Content Types:

  • application/json

    Example (See the OpenAI spec for more detail):

    {
        "object": "organization.project.service_account",
        "id": "svc_acct_abc",
        "name": "Service Account",
        "role": "owner",
        "created_at": 1711471533
    }

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.