Skip to main content
POST
/
mem_cubes
/
{cube_id}
/
share
Share a cube with another user
curl --request POST \
  --url https://api.example.com/mem_cubes/{cube_id}/share \
  --header 'Content-Type: application/json' \
  --data '
{
  "target_user_id": "user456",
  "user_id": "user123"
}
'
{
  "message": "Operation successful",
  "code": 200,
  "data": "<unknown>"
}

Path Parameters

cube_id
string
required

Body

application/json
target_user_id
string
required

Target user ID to share with

Example:

"user456"

user_id
string | null

User ID for the request

Example:

"user123"

Response

Successful Response

Simple response model for operations without data return.

message
string
required

Response message

Example:

"Operation successful"

code
integer
default:200

Response status code

Example:

200

data
null

Response data