Update application secret
Update a secret for the application by name.
Path parameters
-
The unique identifier of the application.
-
The name of the secret.
PATCH /api/applications/{id}/secrets/{name}
curl \
-X PATCH https://[tenant_id].logto.app/api/applications/{id}/secrets/{name} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'
Request examples
{
"name": "string"
}
Response examples (200)
{
"tenantId": "string",
"applicationId": "string",
"name": "string",
"value": "string",
"createdAt": 42.0,
"expiresAt": 42.0
}