=encoding utf8

=head1 NAME

OpenAPI::Client::OpenAI::Path::organization-admin_api_keys-key_id - Documentation for the /organization/admin_api_keys/{key_id} path.

=head1 OPERATIONS

=head2 DELETE /organization/admin_api_keys/{key_id}

=head3 admin-api-keys-delete

  $client->admin_api_keys_delete({
      body => { ... },
  });

Delete an organization admin API key

Delete the specified admin API key.

=head4 Path/query parameters

=over

=item * C<key_id> (in path, required, string)

=back

=head4 Responses

B<200 - Confirmation that the API key was deleted.>

Content-Type: application/json

Properties:

=over

=item * C<deleted> (boolean, required)

=item * C<id> (string, required)

=item * C<object> (string, required)

Allowed values: organization.admin_api_key.deleted

=back

Example:

    {
       "deleted" : true,
       "id" : "key_abc",
       "object" : "organization.admin_api_key.deleted"
    }

=head2 GET /organization/admin_api_keys/{key_id}

=head3 admin-api-keys-get

  $client->admin_api_keys_get({
      body => { ... },
  });

Retrieve a single organization API key

Get details for a specific organization API key by its ID.

=head4 Path/query parameters

=over

=item * C<key_id> (in path, required, string)

=back

=head4 Responses

B<200 - Details of the requested API key.>

Content-Type: application/json

Example:

    {
       "created_at" : 1711471533,
       "id" : "key_abc",
       "last_used_at" : 1711471534,
       "name" : "Main Admin Key",
       "object" : "organization.admin_api_key",
       "owner" : {
          "created_at" : 1711471533,
          "id" : "user_123",
          "name" : "John Doe",
          "object" : "organization.user",
          "role" : "owner",
          "type" : "user"
       },
       "redacted_value" : "sk-admin...xyz"
    }

=head1 SCHEMAS

=head2 AdminApiKey

Properties:

=over

=item * C<created_at> (integer, required) - The Unix timestamp (in seconds) of when the API key was created

=item * C<id> (string, required) - The identifier, which can be referenced in API endpoints

=item * C<last_used_at> (anyOf)

=item * C<name> (anyOf) - The name of the API key

=item * C<object> (string, required) - The object type, which is always C<organization.admin_api_key>

Allowed values: organization.admin_api_key

=item * C<owner> (object, required)

=item * C<redacted_value> (string, required) - The redacted value of the API key

=back

=head1 SEE ALSO

L<OpenAPI::Client::OpenAI::Path>

=head1 COPYRIGHT AND LICENSE

Copyright (C) 2023-2026 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.

=cut
