NAME
OpenAPI::Client::OpenAI::Path::organization-projects-project_id-api_keys-key_id - Documentation for the /organization/projects/{project_id}/api_keys/{key_id} path.
DESCRIPTION
This document describes the API endpoint at /organization/projects/{project_id}/api_keys/{key_id}
.
See the examples/
directory in the distribution for examples of how to use this.
DELETE /organization/projects/{project_id}/api_keys/{key_id}
Deletes an API key from the project.
Operation ID
delete-project-api-key
$client->delete-project-api-key( ... );
Parameters
project_id
(in path) (Required) - The ID of the project. Type:string
key_id
(in path) (Required) - The ID of the API key. Type:string
Responses
Status Code: 200
Project API key deleted successfully.
Content Types:
application/json
Status Code: 400
Error response for various conditions.
Content Types:
application/json
Example:
{ "error" : null }
GET /organization/projects/{project_id}/api_keys/{key_id}
Retrieves an API key in the project.
Operation ID
retrieve-project-api-key
$client->retrieve-project-api-key( ... );
Parameters
project_id
(in path) (Required) - The ID of the project. Type:string
key_id
(in path) (Required) - The ID of the API key. Type:string
Responses
Status Code: 200
Project API key retrieved successfully.
Content Types:
application/json
Example:
{ "owner" : { "user" : null, "service_account" : null } }
SEE ALSO
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.