Справочник APIPlatformPlatform sso
Enable_platform_sso_provider
Эта страница пока доступна только на английском языке. Руководства переведены; автоматически генерируемый справочник API публикуется на английском.
Authorization
bearer_auth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Provider id
Format
uuidHeader Parameters
X-Project-Id*string
UUID of the project that scopes consumer accounts, devices, sessions, and VSpaces for the request.
Format
uuidResponse Body
application/json
application/json
curl -X POST "https://example.com/platform/v1/sso/providers/497f6eca-6276-4993-bfeb-53cbbbba6f08/enable" \ -H "X-Project-Id: 11111111-1111-1111-1111-111111111111"{ "authorization_endpoint": "string", "auto_link_by_verified_email": true, "button_label": "string", "button_logo_url": "string", "client_id": "string", "client_secret_ref": { "env": { "var_name": "string" } }, "created_at": "2019-08-24T14:15:22Z", "display_name": "string", "enabled": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "issuer_url": "string", "jwks_uri": "string", "kind": "gbyte", "planes": [ "staff" ], "preferred_default_for": [ "staff" ], "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "scopes": [ "string" ], "token_endpoint": "string", "updated_at": "2019-08-24T14:15:22Z", "userinfo_endpoint": "string"}{ "detail": "Pool slug must be unique.", "instance": "urn:forestvpn:trace:a1b2c3d4", "title": "Validation Error", "type": "https://fvpn.net/errors/validation"}