Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.blobhub.io/llms.txt

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

Add a user as a member of a target.

POST /:target/:target_id/members

Path Parameters

ParameterTypeRequiredDescription
targetstringYesResource type: orgs or blobs.
target_idstringYesThe unique ID of the target resource.

Request Body

ParameterTypeRequiredDescription
user_idstringYesThe ID of the user to add.
rolestringYesRole to assign: admin, write, or read.

Response

ParameterTypeDescription
memberobjectThe created member object.

Example

{
  "user_id": "user_789",
  "role": "write"
}