> ## Documentation Index
> Fetch the complete documentation index at: https://hexelstudio.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Create or Update Service Secret (Admin)

> Create or update OAuth client ID/secret for a third-party service for a specific tenant.

Create or update OAuth client ID/secret for a third-party service for a specific tenant (admin only).

* **Method:** POST
* **Path:** `/api/v1/admin/services/{service_id}/secrets`

## Path Parameter

* `service_id` (integer, required): The ID of the service

## Request Body

Refer to the `TenantSecretCreate` schema in the OpenAPI playground.

## Response

Returns a `TenantSecretResponse` object on success.

<OpenAPIPlayground endpoint="/api/v1/admin/services/{service_id}/secrets" method="POST" />
