Get user permissions for governance
GET /api/v1/rbac/user/permissions Select code sample Fetch cURL
const url = 'https://localhost:8080/api/v1/rbac/user/permissions';const options = {method: 'GET', headers: {Authorization: '
'}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}
curl --request GET \ --url https://localhost:8080/api/v1/rbac/user/permissions \ --header 'Authorization:
'
Return the authenticated user’s organization memberships, project assignments, and effective permissions in the governance-service contract format
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”200
Section titled “200 ”User permissions and context
Media type application/json object email string isSystemAdmin boolean joinedAt string lastLoginAt string name string organizations Array