Skip to main content

Reassign Identities or Items

POST 

https://sailpoint.api.identitynow.com/v3/certifications/:id/reassign

This API reassigns up to 50 identities or items in an identity campaign certification to another reviewer. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups.

Request

Path Parameters

Bodyrequired

    reassign object[]required
  • Array [
  • idstringrequired

    The ID of item or identity being reassigned.

    Example: ef38f94347e94562b5bb8424a56397d8
    typestringrequired

    The type of item or identity being reassigned.

    Possible values: [TARGET_SUMMARY, ITEM, IDENTITY_SUMMARY]

    Example: ITEM
  • ]
  • reassignTostringrequired

    The ID of the identity to which the certification is reassigned

    Example: ef38f94347e94562b5bb8424a56397d8
    reasonstringrequired

    The reason comment for why the reassign was made

    Example: reassigned for some reason

Responses

An identity campaign certification details after completing the reassignment.

Schema
    idstring

    id of the certification

    Example: 2c9180835d2e5168015d32f890ca1581
    namestring

    name of the certification

    Example: Source Owner Access Review for Employees [source]
    campaign object
    idstringrequired

    The unique ID of the campaign.

    Example: ef38f94347e94562b5bb8424a56397d8
    namestringrequired

    The name of the campaign.

    Example: Campaign Name
    typestringrequired

    The type of object that is being referenced.

    Possible values: [CAMPAIGN]

    Example: CAMPAIGN
    campaignTypestringrequired

    The type of the campaign.

    Possible values: [MANAGER, SOURCE_OWNER, SEARCH]

    Example: MANAGER
    descriptionstringnullablerequired

    The description of the campaign set by the admin who created it.

    Example: A description of the campaign
    correlatedStatusstringrequired

    The correlatedStatus of the campaign. Only SOURCE_OWNER campaigns can be Uncorrelated. An Uncorrelated certification campaign only includes Uncorrelated identities (An identity is uncorrelated if it has no accounts on an authoritative source).

    Possible values: [CORRELATED, UNCORRELATED]

    Example: CORRELATED
    mandatoryCommentRequirementstringrequired

    Determines whether comments are required for decisions during certification reviews. You can require comments for all decisions, revoke-only decisions, or no decisions. By default, comments are not required for decisions.

    Possible values: [ALL_DECISIONS, REVOKE_ONLY_DECISIONS, NO_DECISIONS]

    Example: NO_DECISIONS
    completedboolean

    Have all decisions been made?

    Example: true
    identitiesCompletedint32

    The number of identities for whom all decisions have been made and are complete.

    Example: 5
    identitiesTotalint32

    The total number of identities in the Certification, both complete and incomplete.

    Example: 10
    createddate-time

    created date

    Example: 2018-06-25T20:22:28.104Z
    modifieddate-time

    modified date

    Example: 2018-06-25T20:22:28.104Z
    decisionsMadeint32

    The number of approve/revoke/acknowledge decisions that have been made.

    Example: 20
    decisionsTotalint32

    The total number of approve/revoke/acknowledge decisions.

    Example: 40
    duedate-timenullable

    The due date of the certification.

    Example: 2018-10-19T13:49:37.385Z
    signeddate-timenullable

    The date the reviewer signed off on the Certification.

    Example: 2018-10-19T13:49:37.385Z
    reviewer object
    idstring

    The id of the reviewer.

    Example: ef38f94347e94562b5bb8424a56397d8
    namestring

    The name of the reviewer.

    Example: Reviewer Name
    emailstring

    The email of the reviewing identity.

    Example: reviewer@test.com
    typestring

    The type of the reviewing identity.

    Possible values: [IDENTITY]

    Example: IDENTITY
    createddate-timenullable

    The created date of the reviewing identity.

    Example: 2018-06-25T20:22:28.104Z
    modifieddate-timenullable

    The modified date of the reviewing identity.

    Example: 2018-06-25T20:22:28.104Z
    reassignment objectnullable
    from object
    idstring

    The id of the certification.

    Example: ef38f94347e94562b5bb8424a56397d8
    namestring

    The name of the certification.

    Example: Certification Name
    typestring

    Possible values: [CERTIFICATION]

    Example: CERTIFICATION
    reviewer object
    idstring

    The id of the reviewer.

    Example: ef38f94347e94562b5bb8424a56397d8
    namestring

    The name of the reviewer.

    Example: Reviewer Name
    emailstring

    The email of the reviewing identity.

    Example: reviewer@test.com
    typestring

    The type of the reviewing identity.

    Possible values: [IDENTITY]

    Example: IDENTITY
    createddate-timenullable

    The created date of the reviewing identity.

    Example: 2018-06-25T20:22:28.104Z
    modifieddate-timenullable

    The modified date of the reviewing identity.

    Example: 2018-06-25T20:22:28.104Z
    commentstring

    The comment entered when the Certification was reassigned

    Example: Reassigned for a reason
    hasErrorsboolean

    Identifies if the certification has an error

    Example: false
    errorMessagestringnullable

    Description of the certification error

    Example: The certification has an error
    phasestring

    The current phase of the campaign.

    • STAGED: The campaign is waiting to be activated.
    • ACTIVE: The campaign is active.
    • SIGNED: The reviewer has signed off on the campaign, and it is considered complete.

    Possible values: [STAGED, ACTIVE, SIGNED]

    Example: ACTIVE

Authorization: oauth2

type: Personal Access Token
scopes: sp:scopes:all
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://sailpoint.api.identitynow.com/v3/certifications/:id/reassign"
method := "POST"

payload := strings.NewReader(`{
"reassign": [
{
"id": "ef38f94347e94562b5bb8424a56397d8",
"type": "ITEM"
}
],
"reassignTo": "ef38f94347e94562b5bb8424a56397d8",
"reason": "reassigned for some reason"
}`)

client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)

if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
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))
}
Request Collapse all
Base URL
https://sailpoint.api.identitynow.com/v3
Auth
Parameters
— pathrequired
Body required
{
  "reassign": [
    {
      "id": "ef38f94347e94562b5bb8424a56397d8",
      "type": "ITEM"
    }
  ],
  "reassignTo": "ef38f94347e94562b5bb8424a56397d8",
  "reason": "reassigned for some reason"
}
ResponseClear

Click the Send API Request button above and see the response here!