Task

Create Grant Task

Changed on

Create a task to grant access. Specify the recipient using identityUserId (a C1 user ID) or appUserId (an application account ID); the recipient is not inferred from the caller.

post/api/v1/task/grant

Request

  • Base URL
    https://example.conductor.one
  • URL
    https://example.conductor.one/api/v1/task/grant
  • Auth
    HTTP bearer and OAuth 2
    Client credentials
    Token URL: /auth/v1/token

Request body

appEntitlementIdstring required

The ID of the app entitlement to grant access to.

appIdstring required

The ID of the app that is associated with the entitlement.

appUserIdstring

The application account ID receiving access. Required unless identityUserId is set. If both are supplied, the account must belong to that user.

descriptionstring

The description of the request.

emergencyAccessboolean

Boolean stating whether or not the task is marked as emergency access.

grantDurationstring duration nullable
identityUserIdstring

The C1 user ID receiving access. Required unless appUserId is set. If both are supplied, the account must belong to this user.

requestDataobject nullable

Response

The TaskServiceCreateGrantResponse returns a task view which has a task including JSONPATHs to the expanded items in the expanded array.

Changes

    • info

      added the optional property //////////// to the response with the status

    • info

      added the optional property //////////// to the response with the status

    • info

      added the optional property //////////// to the response with the status

    • info

      added the optional property //////////// to the response with the status

    • info

      added the optional property //////////// to the response with the status

    • info

      added the optional property //////////// to the response with the status

    • info

      added the optional property ////////// to the response with the status

    • info

      added the optional property ////////////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • warning

      added the new OPERATION_ISSUE_CREDENTIAL enum value to the //////////// response property for the response status

    • warning

      added the new TYPE_CREDENTIAL_ISSUE enum value to the //////// response property for the response status

    • warning

      added the new TYPE_SPEND_REMEDY enum value to the //////// response property for the response status

    • info

      added the optional property //////////// to the response with the status

    • info

      added the optional property ////////////////// to the response with the status

    • info

      added the optional property ////////////////// to the response with the status

    • info

      added the optional property ////////////////// to the response with the status

    • info

      added the optional property ////////////////////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property ////////// to the response with the status