API & agentsEndpoint referenceAdminCreate a roleCreate a role POST /api/admin/roles Admin only; with an API key, only an admin's key with the Admin API scope. Responses200Done.