Cloud Storage Providers

Configures the redirect URL information for one or more cloud storage providers for the specified user

POST
/v2.1/accounts/{accountId}/users/{userId}/cloud_storage

Configures the redirect URL information for one or more cloud storage providers for the specified user. The redirect URL is added to the authentication URL to complete the return route.

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

userId*string

The ID of the user to access.

Note: Users can only access their own information. A user, even one with Admin rights, cannot access another user's settings.

Request Body

application/json

storageProviders?array<>

An Array containing the storage providers associated with the user.

Response Body

application/json

application/json

curl -X POST "https://example.com/v2.1/accounts/string/users/string/cloud_storage" \  -H "Content-Type: application/json" \  -d '{}'
{  "storageProviders": [    {      "authenticationUrl": "string",      "errorDetails": {        "errorCode": "string",        "message": "string"      },      "redirectUrl": "string",      "service": "string",      "serviceId": "string"    }  ]}