latestOpenAPI 3.0.32026-08-10234358.4 KB
3d5d69795558
Roles
Create a role
Create a new role with specified permissions
post/user-service/roles
Request body
Example request
{
"integrationIds": [
"integration-123",
"integration-456"
],
"providers": [
"aws",
"azure",
"gcp"
],
"scopes": [
{
"scope_id": 4
}
]
}Response
Created role
Example response
{
"integrationIds": [
"integration-123",
"integration-456"
],
"providers": [
"aws",
"azure",
"gcp"
],
"scopes": [
{
"scope_id": 4,
"scope_name": "inventory:read"
}
]
}