This API has been deprecated, instead use PATCH operation to update platform preferences
put
/apiplatform/administration/v1/preferences/platform
Updates the platform preferences. All fields are optional; send only the field(s) you want to update in the request.
Users requesting this resource must be assigned the Administrator role.
Request
Supported Media Types
- application/json
Nested Schema : GeneralPlatformPreferences
Type:
Show Source
object
-
allowSelfRegistration(optional):
boolean
Default Value:
false
Allow self registration. -
allowUnauthenticatedUsers(optional):
boolean
Default Value:
false
Allow unauthenticated users. -
apiaryUrl(optional):
string
The Apiary integration URL.
-
gatewayDownloadUrl(optional):
string
The gateway installer download URL.
-
portalBaseUrl(optional):
string
The default Developer Portal URL.
-
portalCustomUrl(optional):
string
The custom Developer Portal URL. This string is used only if
portalUrlType
is set toCUSTOM
. -
portalEnabled(optional):
boolean
Default Value:
true
Indicates if the Developer Portal is enabled. Value istrue
if enabled andfalse
if disabled. -
portalShowAppKey(optional):
boolean
Default Value:
true
Indicates if application keys are displayed in the Developer Portal. Value istrue
if application keys are displayed andfalse
if they are hidden. -
portalShowOAuthClientId(optional):
boolean
Default Value:
true
Indicates if OAuth Client IDs and Client Secrets are displayed in the Developer Portal. Value istrue
if Client IDs and Client Secrets are displayed andfalse
if they are hidden. -
portalUrlType(optional):
string
Default Value:
DEFAULT
Allowed Values:[ "DEFAULT", "CUSTOM" ]
Indicates if the default Developer Portal URL is being used or if a custom URL is configured. Value is DEFAULT if using the default Developer Portal URL and CUSTOM if a custom Developer Portal URL is configured. -
timeZoneId(optional):
string
Platform time zone ID setting.
Nested Schema : IdcsSecurity
Type:
Show Source
object
-
clientId(optional):
string
The client ID.
-
clientSecret(optional):
string
The client secret.
-
description(optional):
string
A short description.
-
url(optional):
string
The IDCS endpoint URL.
Response
Supported Media Types
- application/json
204 Response
Platform preferences successfully updated.
403 Response
Forbidden.
Root Schema : Error
Type:
Show Source
object
-
detail(optional):
string
Detailed error message
-
errorCode(optional):
string
Application specific error code
-
errorDetails(optional):
array errorDetails
additional errors
-
errorPath(optional):
string
-
instance(optional):
string
URI to the link that provides more detail about the error
-
status(optional):
string
HTTP status code
-
title:
string
Summary error message
-
type:
string
Error type
500 Response
Unexpected error.
Root Schema : Error
Type:
Show Source
object
-
detail(optional):
string
Detailed error message
-
errorCode(optional):
string
Application specific error code
-
errorDetails(optional):
array errorDetails
additional errors
-
errorPath(optional):
string
-
instance(optional):
string
URI to the link that provides more detail about the error
-
status(optional):
string
HTTP status code
-
title:
string
Summary error message
-
type:
string
Error type