Save or Update a Control Plane Configuration
post
/api/v1/configuration/cpConfig
Save or update a control plane configuration. You cannot update `controlPlaneID`. You can activate the default LDAP provider if no identity provider is active. You cannot activate a second identity provider.
Request
Supported Media Types
- application/json
Header Parameters
-
Authorization(required): string
Bearer access token. Supply as: Bearer
.
request payload in JSON
Root Schema : schema
Type:
Show Source
object-
cpConfigName(required):
string
Public configuration name. controlPlaneId is server-managed and is rejected.
-
cpConfigValue(required):
string
When cpConfigName is activeLdapId, the value must be DEFAULT-LDAP-ID-001.
Response
Supported Media Types
- application/json
200 Response
OK
400 Response
Bad Request
Root Schema : Error
Type:
objectError Information.
Show Source
-
errors:
array errors
list of errors
-
message(required):
string
A human-readable error string.
-
status(required):
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings:
array warnings
list of warnings
401 Response
Unauthorized
Root Schema : AuthError
Type:
objectAuthentication or authorization error returned by request filters.
Show Source
-
code(required):
string
Allowed Values:
[ "UNAUTHENTICATED", "FORBIDDEN", "NOT_FOUND" ] -
message(required):
string
403 Response
Forbidden. The authenticated caller lacks a required global role, instance-access-group membership, or a valid CSRF token.
Root Schema : AuthError
Type:
objectAuthentication or authorization error returned by request filters.
Show Source
-
code(required):
string
Allowed Values:
[ "UNAUTHENTICATED", "FORBIDDEN", "NOT_FOUND" ] -
message(required):
string
500 Response
Internal Server Error
Root Schema : Error
Type:
objectError Information.
Show Source
-
errors:
array errors
list of errors
-
message(required):
string
A human-readable error string.
-
status(required):
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings:
array warnings
list of warnings