API product catalogEnterprise Governance, Security & Access
Create a custom partner role
Enterprise Governance, Security & Access
POST
/team/roles
Create a custom partner role
Production only
createPartnerRoleParameters
This endpoint has no path or query parameters.
Headers
AuthorizationstringRequiredBearer sk_sandbox_<your_key> for sandbox requests.
Idempotency-KeystringheaderRequiredUnique string that makes write calls safe to retry on network failure. Required for money movement, trading, KYC, subscriptions, and webhook creation. Deduplicated for 24 hours -- duplicate keys return the cached response. HTTP 409 if a concurrent request with the same key is still in progress.
Example: dep_user42_1743152580
Request body
namestringRequireddescriptionstringpermissionsstring[]RequiredResponse fields
See the response format and API Reference for this endpoint.
Response codes
201Custom role created