create
PUT /list-share
PUT
/list-share
Creates a list share.
Authorizations
Parameters
Query Parameters
expand
string
Expand a foreign key column (https://pocketbase.io/docs/working-with-relations/#expanding-relations).
requestKey
string
Unique request id. Prevents auto cancel when sending multiple requests.
Request Body
object
list
required
List Id
string
user
required
User Id
string
permission
required
Permissions for user
string
Example
Responses
200
object
collectionId
required
string
collectionName
required
string
created
required
string
expand
required
object
list
required
object
author
required
string
avatar
required
string
collectionId
required
string
collectionName
required
string
created
required
string
description
required
string
expand
required
object
author
required
object
avatar
required
string
bio
required
string
collectionId
required
string
collectionName
required
string
created
required
string
emailVisibility
required
boolean
id
required
string
token
required
string
updated
required
string
username
required
string
verified
required
boolean
id
required
string
name
required
string
public
required
boolean
trails
required
Array<string>
updated
required
string
id
required
string
list
required
string
permission
required
string
updated
required
string
user
required
string
Examples
Success
400
object
message
required
string
detail
required
object
code
required
integer
message
required
string
data
required
object
author
required
object
code
required
string
message
required
string
Examples
Exception
x-400:Invalid Params
object
message
required
string
detail
required
Array<object>
object
code
string
expected
string
received
string
path
Array<string>
message
string
Examples
Exception