The query parameters will be sent as a URL query parameters as a part of the request.
Request Payload
xxxxxxxxxx
1
{
2
"name": ""
3
}
The payload will be sent as a application/json as a part of the request body.
Query Parameters
requestId*string
An ID such as a random UUID
Payload
namestring*
The name of this shared drive.
colorRgbstring
The color of this shared drive as an RGB hex string. It can only be set on a drive.drives.update request that does not set themeId.
themeIdstring
The ID of the theme from which the background image and color will be set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a drive.drives.create request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile.
backgroundImageFileobject
An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on drive.drives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.
hiddenboolean
Whether the shared drive is hidden from default view.
restrictionsobject
A set of restrictions that apply to this shared drive or items inside this shared drive. Note that restrictions can't be set when creating a shared drive. To add a restriction, first create a shared drive and then use drives.update to add restrictions.
Response
API response data will be shown here once the request is completed.