Make a custom role
Makes a role of the org's own from permissions the caller holds. Needs `roles.edit`.
/v1/orgs/{orgId}/rolesMakes a role of the org's own from permissions the caller holds. Needs roles.edit.
A Synq access token for this API: bnc.read for reads, bnc.write for changes.
In: header
Path Parameters
The organization's id
^org_[0-9a-hjkmnp-tv-z]{26}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/orgs/string/roles" \ -H "Content-Type: application/json" \ -d '{ "name": "Support", "description": "", "permissions": [ "webhooks.view" ] }'{ "id": "role_01j3sa8pvcfp79z85hrb9y9xd6", "key": "admin", "name": "Admin", "description": "string", "system": true, "permissions": [ "webhooks.view" ]}Make a proved wallet the payout wallet: at once if the org has none, after the hold if it has POST
The Owner only, after a fresh sign-in, answering a challenge this org issued: the wallet’s signature of its message, the signature of the Squads multisig member it names (still a member that can vote, read again now), or the memo a multisig landed after the challenge was made. The first wallet takes effect at once. A change waits out the hold (`holdHours`) while the current wallet keeps receiving, and replaces any change still waiting, whose hold it never inherits. Everyone who sees donation settings is told by email, which they can’t turn off, and the proof is kept as the record.
Grant bounded agent access on the dashboard POST
One action, a count and an expiry within ninety days. Only Member invitations and live profile edits are eligible. Requires a fresh sign-in.