Chuyển đến nội dung chính
POST
/
space
/
{spaceId}
/
invitation
/
email
cURL
curl --request POST \
  --url https://sheets.vn/api/space/%7BspaceId%7D/invitation/email \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"emails":["user@example.com"],"role":"owner"}'
{}

Documentation Index

Fetch the complete documentation index at: https://www.sheets.vn/docs/llms.txt

Use this file to discover all available pages before exploring further.

Ủy quyền

Authorization
string
header
bắt buộc

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Tham số đường dẫn

spaceId
string
bắt buộc

Nội dung

application/json
emails
string<email>[]
bắt buộc
Minimum array length: 1
role
enum<string>
bắt buộc
Tùy chọn có sẵn:
owner,
creator,
editor,
commenter,
viewer

Phản hồi

201 - application/json

Successful response, return invitation information.

{key}
object