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 \
--request PATCH https://[tenant_id].logto.app/api/applications/{id}/secrets/{name} \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"string"}'
Request examples
{
"name": "string"
}
Response examples (200)
{
"tenantId": "string",
"applicationId": "string",
"name": "string",
"value": "string",
"createdAt": 42.0,
"expiresAt": 42.0
}