コンテンツにスキップ

Enable a tenant plugin.

PUT
/api/admin/plugins/{id}/enable
Code sample: Shell / cURL
curl --request PUT \
--url https://auth.example.com/api/admin/plugins/example/enable \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "tenant_id": "default" }'

Enable a plugin for the current tenant after verifying that all required configuration fields are present.

id
required
string

Plugin identifier.

Media type application/json
object
tenant_id
string
key
additional properties
Example
{
"tenant_id": "default"
}

Plugin enable or disable response.

Media type application/json
object
success
required
boolean
pluginId
required
string
tenantId
required
string | null
enabled
required
boolean
key
additional properties
Example
{
"success": true
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}