Retrieves the information of the role assignments
Role Assignment List Response body
[- {
- "role-assignment": {
- "identifier": "example_role_assignment",
- "resource_group": "example_resource_group_identifier",
- "role": "example_role_identifier",
- "principal": {
- "scope": "ACCOUNT",
- "identifier": "example_principal_identifier",
- "type": "USER"
}, - "disabled": false,
- "managed": false
}, - "created": 1234567890,
- "updated": 1234567890,
- "harness_managaed": false
}
]
Create a role assignment
Role Request body
Role assignment response body
{- "identifier": "example_role_assignment",
- "resource_group": "example_resource_group_identifier",
- "role": "example_role_identifier",
- "principal": {
- "scope": "ACCOUNT",
- "identifier": "example_principal_identifier",
- "type": "USER"
}, - "disabled": false,
- "managed": false
}
{- "role-assignment": {
- "identifier": "example_role_assignment",
- "resource_group": "example_resource_group_identifier",
- "role": "example_role_identifier",
- "principal": {
- "scope": "ACCOUNT",
- "identifier": "example_principal_identifier",
- "type": "USER"
}, - "disabled": false,
- "managed": false
}, - "created": 1234567890,
- "updated": 1234567890,
- "harness_managaed": false
}
Retrieves the information of the role assignment with the matching role assignment identifier.
Role assignment response body
{- "role-assignment": {
- "identifier": "example_role_assignment",
- "resource_group": "example_resource_group_identifier",
- "role": "example_role_identifier",
- "principal": {
- "scope": "ACCOUNT",
- "identifier": "example_principal_identifier",
- "type": "USER"
}, - "disabled": false,
- "managed": false
}, - "created": 1234567890,
- "updated": 1234567890,
- "harness_managaed": false
}
Deletes the information of the role assignment with the matching role assignment identifier.
Role assignment response body
{- "role-assignment": {
- "identifier": "example_role_assignment",
- "resource_group": "example_resource_group_identifier",
- "role": "example_role_identifier",
- "principal": {
- "scope": "ACCOUNT",
- "identifier": "example_principal_identifier",
- "type": "USER"
}, - "disabled": false,
- "managed": false
}, - "created": 1234567890,
- "updated": 1234567890,
- "harness_managaed": false
}