/
DeleteUser RESTified API

DeleteUser RESTified API

5.4.0

pass-through API  to Scheduling (when configured) which allows the Scheduling's "DeleteUserRequest" API to be called.

Description

Used to delete a user in Scheduling.

Uses sp:DeleteUserRequest

On this page:

Related pages:

Resource URL Summary


Pass Through Call to Scheduling's "DeleteUserRequest" API

PUT /up/v5/rest/scheduling/DeleteUser

HTTP Headers

This API uses the standard ServiceBroker HTTP Headers.


API Specifics


Pass Through Call to Scheduling's "DeleteUserRequest" API

This RESTified API will perform a pass-through call to the Scheduling sub-system's "DeleteUserRequest" API (when configured).

URL

PUT /up/v5/rest/scheduling/DeleteUser

HTTP Request Body

This request requires a JSON object supplied in the HTTP request body, which defines the parameters that will be passed through to the Scheduling "DeleteUserRequest" API.

Deleteuser Object Format

ActDelete JSON
{
	"userId": ""
}


DeleteAct Object Properties (Bold property names indicate required field)

PropertyTypeLengthDescriptionReq?
userID

string

SS: 50

Unique identifier for user to be deleted

SS Field Mapping: userID

Yes


HTTP Response

Success

On success, a JSON-formatted version of the Scheduling "DeleteUserRequest" API response will be returned.

{
    "Success": true,
    "Code": 0,
    "Message": "OK",
    "Payload": {
        "result": {
            "type": "OK",
            "code": "0"
        }
    }
}

Error

On error, a JSON-formatted version of the Scheduling "DeleteUserRequest" API response will be returned.

{
    "Success": false,
    "Code": 9,
    "Payload": {
        "returnCode": {
            "type": "Error",
            "code": "SCH Error Code"
        }
    }
}

Return Codes

In addition to the  Standard Return Codes, and the Scheduling Error codes, the possible Return Codes from this API are:

 Click here to expand...
  • SP_USERID_DOES_NOT_EXIST (703)





Related content

ActDelete RESTified API
ActDelete RESTified API
More like this
Delete User SOAP API
Delete User SOAP API
More like this
Delete User SOAP API
Delete User SOAP API
More like this
UpdateUser RESTified API
UpdateUser RESTified API
More like this