Create Csp Org Uber Oauth App

Create Csp Org Uber Oauth App

Create the Uber OAuth App for the specified organization. This Uber Oauth App will be used by Cloud Director Service to create, delete, and update other OAuth Apps needed to setup SSO to Cloud Director Instances. Note: Invoking this will result in a server-to-server OAuth App with Organization Owner role being created in VMware Cloud Service Platform.

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

URN ID of a CSP organization


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