Templates

Share a template

Grants one user, team, or the whole org access at a level. use is what lets the grantee stamp a toolbox from it (POST /toolbox { template_id }); edit additionally lets them change its entries and its own grants. Re-granting the same grantee replaces the level rather than stacking. Requires edit access or ownership, and template:share.

post/template/{id}/share

Request

  • Base URL: https://api.elaichi.ai
  • URL: https://api.elaichi.ai/template/{id}/share
  • Auth: HTTP bearer

Path parameters

idstring required

Template id (tpl_…).

Headers

X-Organization-Idstring

Target organization (org_…). Required for cookie/session auth on org-scoped routes; optional for API tokens, which carry their organization, and rejected when it names a different one.

Request body

OR

Response

Created

OR

Changes

No recorded changes to this operation across all 1 revision of this API.