PwsDeleteSkill
Overview
This web service deletes a specified skill (PwsSkillRef).
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
- PwsDeleteSkill
- serviceRequest: PwsDeleteSkillRq
- RequestId: Int32
- SessionTicket: String
- InactivateIfInUseFlag: Boolean
- SkillIdentity: PwsSkillRef
- serviceRequest: PwsDeleteSkillRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | ||
SessionTicket | String | Yes | Click here for more information. | ||
InactivateIfInUseFlag | Boolean | No | fals | If set to "true" and the skill is in use, the skill will be inactivated instead of deleted. If set to "false" and the skill is in use, the delete request will fail. | |
SkillIdentity | Yes | This structure represents the unique key fields associated with identifying the skill to be deleted. |
Request Usage Example(s)
Response Format
- PwsDeleteSkillResponse
- PwsDeleteSkillResult: PwsDeleteSkillRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- SkillIdentity: PwsSkillRef
- PwsDeleteSkillResult: PwsDeleteSkillRs
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. | 0 |
Status | RequestStatus | Click here for more information | Ok |
ServerTimestampUtc | DateTime | Click here for more information. | 2018-03-07T18:49:19.6612047Z |
SkillIdentity | This structure represents the unique key fields associated with identifying the skill that was deleted. |
Response Usage Example(s)
Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
57675 | SkillDeletionFailed | Skill could not be deleted because it is in use by at least one Resource Skill. |