Team
Set default team role
Choose the agency role used as the default for new memberships or invitations according to agency role rules.
PUT
/v1/agencies/{agencyId}/team/default-roleChoose the agency role used as the default for new memberships or invitations according to agency role rules.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
agencyId*string
Length
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/agencies/string/team/default-role" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "roleId": "string" }'{ "data": null, "meta": { "requestId": "string", "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969", "status": "COMPLETED" }}