List Scheduled Actions
GEThttps://sailpoint.api.identitynow.com/v2024/configuration-hub/scheduled-actions
This API gets a list of existing scheduled actions for the current tenant.
Responses
- 200
- 400
- 401
- 403
- 429
- 500
List of existing scheduled actions.
- application/json
- Schema
- Example (auto)
- Example
Schema
- Array [
- ]
Unique identifier for this scheduled action.
3469b87d-48ca-439a-868f-2160001da8c1
The time when this scheduled action was created.
2021-05-11T22:23:16.000Z
Type of the scheduled job.
Possible values: [BACKUP
, CREATE_DRAFT
, CONFIG_DEPLOY_DRAFT
]
BACKUP
content object
The time when this scheduled action should start.
2021-05-12T10:00:00.000Z
Cron expression defining the schedule for this action.
0 0 12 * * * *
Time zone ID for interpreting the cron expression.
America/Chicago
[
{
"id": "3469b87d-48ca-439a-868f-2160001da8c1",
"created": "2021-05-11T22:23:16.000Z",
"jobType": "BACKUP",
"content": {
"name": "Daily Backup",
"backupOptions": {
"includeTypes": [
"ROLE",
"IDENTITY_PROFILE"
],
"objectOptions": {
"SOURCE": {
"includedNames": [
"Source1",
"Source2"
]
},
"ROLE": {
"includedNames": [
"Admin Role",
"User Role"
]
}
}
},
"sourceBackupId": "5678b87d-48ca-439a-868f-2160001da8c2",
"sourceTenant": "tenant-name",
"draftId": "9012b87d-48ca-439a-868f-2160001da8c3"
},
"startTime": "2021-05-12T10:00:00.000Z",
"cronString": "0 0 12 * * * *",
"timeZoneId": "America/Chicago"
}
]
[
{
"id": "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde",
"created": "2024-08-16T14:16:58.389Z",
"jobType": "BACKUP",
"content": {
"name": "Backup Name",
"backupOptions": {
"includeTypes": [
"SOURCE",
"IDENTITY"
],
"objectOptions": []
}
},
"startTime": "2024-08-16T14:16:58.389Z",
"cronString": "0 0 * * * *"
}
]
Client Error - Returned if the request body is invalid.
- application/json
- Schema
- Example (auto)
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
- application/json
- Schema
- Example (auto)
Schema
A message describing the error
JWT validation failed: JWT is expired
{
"error": "JWT validation failed: JWT is expired"
}
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
- application/json
- Schema
- Example (auto)
- 403
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 403 response object
{
"detailCode": "403 Forbidden",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The server understood the request but refuses to authorize it."
}
]
}
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
- application/json
- Schema
- Example (auto)
Schema
A message describing the error
Rate Limit Exceeded
{
"message": " Rate Limit Exceeded "
}
Internal Server Error - Returned if there is an unexpected error.
- application/json
- Schema
- Example (auto)
- 500
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 500 response object
{
"detailCode": "500.0 Internal Fault",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "An internal fault occurred."
}
]
}
Authorization: oauth2
type: Personal Access Tokenscopes: sp:config-scheduled-action:read, sp:config-scheduled-action:manage
user levels: ORG_ADMIN
- go
- powershellSailPoint SDK
- pythonSailPoint SDK
- csharp
- curl
- dart
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- r
- ruby
- rust
- shell
- swift
- NATIVE
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sailpoint.api.identitynow.com/v2024/configuration-hub/scheduled-actions"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Accept", "application/json")
req.Header.Add("Authorization", "Bearer <TOKEN>")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}