All Products
Search
Document Center

Data Lake Formation:CreateShare

Last Updated:Dec 16, 2025

Creates a share.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /dlf/v1/share/shares HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

shareName

string

Yes

The name of the share.

share_name

comment

string

No

The comment of the share.

demo

enableWrite

boolean

No

Specifies whether to enable write access for the share.

Response elements

Element

Type

Description

Example

None defined.

Examples

Success response

JSON format

{}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.