Skip to main content

Tag Multiple Objects

POST 

/tagged-objects/bulk-add

This API adds tags to multiple objects.

A token with API, CERT_ADMIN, ORG_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.

Request

Body

required

Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE.

    objectRefs

    object[]

  • Array [

  • type string

    Possible values: [ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE]

    DTO type

    id string

    ID of the object this reference applies to

    name stringnullable

    Human-readable display name of the object this reference applies to

  • ]

  • tags string[]

    Label to be applied to object.

    operation string

    Possible values: [APPEND, MERGE]

    Default value: APPEND

    If APPEND, tags are appended to the list of tags for the object. A 400 error is returned if this would add duplicate tags to the object.

    If MERGE, tags are merged with the existing tags. Duplicate tags are silently ignored.

Responses

Request succeeded.

Schema

    objectRefs

    object[]

  • Array [

  • type string

    Possible values: [ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE]

    DTO type

    id string

    ID of the object this reference applies to

    name stringnullable

    Human-readable display name of the object this reference applies to

  • ]

  • tags string[]

    Label to be applied to object.

    operation string

    Possible values: [APPEND, MERGE]

    Default value: APPEND

    If APPEND, tags are appended to the list of tags for the object. A 400 error is returned if this would add duplicate tags to the object.

    If MERGE, tags are merged with the existing tags. Duplicate tags are silently ignored.

Loading...