Overview
Reference
- AlertEvents
- AlertGroups
- AlertUrgencies
- AlertSources
- Alerts
- Audits
- Authorizations
- CatalogEntities
- CatalogEntityProperties
- CatalogFields
- Catalogs
- Causes
- [DEPRECATED] CustomFieldOptions
- [DEPRECATED] CustomFields
- CustomForms
- DashboardPanels
- Dashboards
- Environments
- EscalationPolicies
- EscalationLevelsPolicies
- EscalationLevelsPath
- EscalationLevels
- EscalationPaths
- FormFieldOptions
- FormFieldPlacementConditions
- FormFieldPlacements
- FormFieldPositions
- FormFields
- FormSetConditions
- FormSets
- Functionalities
- WorkflowTasks
- [DEPRECATED] WorkflowCustomFieldSelections
- WorkflowFormFieldConditions
- WorkflowGroups
- WorkflowRuns
- Workflows
- Heartbeats
- IncidentActionItems
- [DEPRECATED] IncidentCustomFieldSelections
- IncidentEventFunctionalities
- IncidentEventServices
- IncidentEvents
- IncidentFeedbacks
- IncidentFormFieldSelections
- IncidentPermissionSetBooleans
- IncidentPermissionSetResources
- IncidentPermissionSets
- IncidentRetrospectives
- IncidentRetrospectiveSteps
- IncidentRoleTasks
- IncidentRoles
- IncidentStatusPageEvents
- IncidentSubStatuses
- IncidentTypes
- Incidents
- IpRanges
- LiveCallRouters
- OnCallRoles
- OnCallShadows
- OverrideShifts
- PlaybookTasks
- Playbooks
- RetrospectiveTemplates
- Pulses
- RetrospectiveConfigurations
- RetrospectiveProcessGroupSteps
- RetrospectiveProcessGroups
- RetrospectiveProcesses
- RetrospectiveSteps
- Roles
- ScheduleRotationActiveDays
- ScheduleRotationUsers
- ScheduleRotations
- Schedules
- Shifts
- Secrets
- Services
- Severities
- StatusPageTemplates
- StatusPages
- SubStatuses
- Teams
- UserNotificationRules
- Users
- WebhooksDeliveries
- WebhooksEndpoints
Authorizations
Creates an authorization
Authorizations
Creates an authorization
Creates a new authorization from provided data
POST
/
v1
/
authorizations
curl --request POST \
--url https://api.rootly.com/v1/authorizations \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/vnd.api+json'
{
"data": {
"id": "cfa1b9a3-7f48-4fca-be14-144e4a23d9f5",
"type": "authorizations",
"attributes": {
"authorizable_id": "bcd717cf-3ec3-44ff-9992-6c9c57bce600",
"authorizable_type": "Dashboard",
"grantee_id": "32",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-03-13T11:59:05.828-07:00",
"created_at": "2025-03-13T11:59:05.828-07:00"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/vnd.api+json
Available options:
authorizations
The id of the resource being accessed.
The type of resource being accessed.
Available options:
Dashboard
The resource id granted access.
The type of resource granted access.
Available options:
User
, Team
Available options:
read
, update
, authorize
, destroy
Response
201
application/vnd.api+json
authorization created
Unique ID of the authorization
Available options:
authorizations
The id of the resource being accessed.
The type of resource being accessed.
Available options:
Dashboard
The resource id granted access.
The type of resource granted access.
Available options:
User
, Team
Available options:
read
, update
, authorize
, destroy
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/authorizations \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/vnd.api+json'
{
"data": {
"id": "cfa1b9a3-7f48-4fca-be14-144e4a23d9f5",
"type": "authorizations",
"attributes": {
"authorizable_id": "bcd717cf-3ec3-44ff-9992-6c9c57bce600",
"authorizable_type": "Dashboard",
"grantee_id": "32",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-03-13T11:59:05.828-07:00",
"created_at": "2025-03-13T11:59:05.828-07:00"
}
}
}