Roles
Create a role
Create a new role with specified permissions
post/user-service/roles
Request
- Base URLhttps://api.firefly.ai/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.