Update Csp Org Uber Oauth App

Update Csp Org Uber Oauth App

Update the uber OAuth App used by this organization. Expectation is that this OAuth app already exists in VMware Cloud Service Platform.

Request
URI
PUT
https://starfleet.api.eng.vmware.com//organizations/{organizationId}/configuration/cspCredentials
COPY
Path Parameters
string
organizationId
Required

URN of a CSP organization.


Request Body
OauthApp of type(s) application/json
Required
{
    "appId": "string",
    "appSecret": "string"
}
string
appId
Required

ID of the OAuth App as known to CSP.

string
appSecret
Required

The app secret for this OAuth App. This cannot be retrieved, only updated.

Responses
200

The OAuth App used to create/update other OAuth Apps within this organization.

Returns OauthApp of type(s) application/json
{
    "appId": "string",
    "appSecret": "string"
}
string
appId
Required

ID of the OAuth App as known to CSP.

string
appSecret
Required

The app secret for this OAuth App. This cannot be retrieved, only updated.


400

Bad Request

Returns Error of type(s) application/json
{
    "code": "string",
    "messageParameters": [
        {}
    ],
    "message": "string",
    "localizedMessage": "string",
    "type": "string",
    "errors": [
        "Error Object"
    ]
}
string
code
Optional

Error code. It will be of format VCDC_some-number

array of object
messageParameters
Optional

messageParameters

string
message
Required

Detailed error message.

string
localizedMessage
Optional

Localized error message.

string
type
Optional

Type of error.

array of Error
errors
Optional

errors


404

Not Found

Returns Error of type(s) application/json
{
    "code": "string",
    "messageParameters": [
        {}
    ],
    "message": "string",
    "localizedMessage": "string",
    "type": "string",
    "errors": [
        "Error Object"
    ]
}
string
code
Optional

Error code. It will be of format VCDC_some-number

array of object
messageParameters
Optional

messageParameters

string
message
Required

Detailed error message.

string
localizedMessage
Optional

Localized error message.

string
type
Optional

Type of error.

array of Error
errors
Optional

errors