PwsDeleteUser
Overview
This web service deletes a specified user (PwsUserRef). The service will return the identity of the user (PwsUserRef).
Rate Limiting
In order to protect our servers from inadvertent service overuse or intentional attack, and to fairly distribute services to all our customers, we have implemented a rate limiting algorithm. When fully deployed, this new algorithm will cause services to either succeed with new warnings or fail with new errors when services are consumed at too high a rate. Programs that consume Projector services should be enhanced to handle rate limiting errors so that they can continue functioning properly. For more information please visit: Projector Rate Limiting Behavior.
Request Format
- PwsDeleteUser
- serviceRequest: PwsDeleteUserRq
- RequestId: Int32
- SessionTicket: String
- EndDateIfInUse: DateTime
- UserIdentity: PwsUserRef
- UserTimestamp: String
- serviceRequest: PwsDeleteUserRq
Request Elements
Element | Data Type | Required? | Description | Sample Data |
---|---|---|---|---|
Int32 | No | Click here for more information. | 1 | |
String | Yes | Click here for more information. | AYT2iwsWCxt78iwqu2y0/w== | |
EndDateIfInUse | DateTime | No | If a date is specified for EndDateIfInUse, and the user cannot be deleted because it is referenced elsewhere in the system, the user will be made inactive as of the specified date instead. If no date is specified here and the user could not be deleted, the request will simply fail. | 2018-10-17T00:00:00.000Z |
UserIdentity | Yes | The identity of the user to be deleted. | ||
UserTimestamp | String | No | This is a Base64 encoded timestamp optionally utilized for user locking. |
Request Usage Example(s)
Response Format
- PwsDeleteUserResponse
- PwsDeleteUserResult: PwsDeleteUserRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- Timestamp: String
- UserIdentity: PwsUserRef
- PwsDeleteUserResult: PwsDeleteUserRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
Int32 | Click here for more information. | 1 | |
Status | Click here for more information. | Ok | |
DateTime | Click here for more information. | 2018-10-17T18:10:14.2345021Z | |
Timestamp | String | This is a Base64 encoded timestamp optionally utilized for user locking. This will be populated only if the request failed or the user was made inactive instead of deleted. | |
UserIdentity | The unique key fields associated with identifying a user. |
Response Usage Example(s)
PwsDeleteUser - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
50024 | EntityNotFound | Entity PwsUserRef was not found. |
50045 | ViewPermissionDenied | You do not have permission to view this item. |