PwsDeleteRoleType
Overview
This web service deletes a specified role type. The service will return the identity of the deleted role type.
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
- PwsDeleteRoleType
- serviceRequest: PwsDeleteRoleTypeRq
- RequestId: Int32
- SessionTicket: String
- InactivateIfInUseFlag: Boolean
- RoleTypeIdentity: PwsRoleTypeRef
- serviceRequest: PwsDeleteRoleTypeRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Int32 | No | Click here for more information. | 1 | ||
String | Yes | Click here for more information. | AS/RAku1pN9F58A3WQh3aw== | ||
InactivateIfInUseFlag | Boolean | No | false | If set to 'true', the role type will be set to inactive in the event it cannot e delete | true |
RoleTypeIdentity | Yes | This is the identity of the role type to be deleted. Click here for more information. |
Request Usage Example(s)
Response Format
- PwsDeleteRoleTypeResponse
- PwsDeleteRoleTypeResult: PwsDeleteRoleTypeRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- RoleTypeIdentity: PwsRoleTypeRef
- PwsDeleteRoleTypeResult: PwsDeleteRoleTypeRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information | ||
ResponseId | Int32 | Click here for more information. | 1 |
Status | Click here for more information. | Ok | |
DateTime | Click here for more information. | 2022-10-21T19:41:52.6505682Z | |
RoleTypeIdentity | The identity of the deleted role type. |
Response Usage Example(s)
PwsDeleteRoleType - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
50024 | EntityNotFound | Role Type was not found. Another user may have deleted it. |