developer.delete

This section provides documentation on the v1.0 version of the Mashery API.  We will support previously built applications and integration points, but not granting new access keys.  These pages are for legacy support purposes.  Should you wish to integrate with your Mashery instance, please utilize Mashery API version 2.0.

Description

Deletes a developer from a Mashery Service Provider

Authentication

This method requires authentication

Parameters Type Description Required
spkey string Service Provider key assigned by Mashery Yes
email string
Select the developer by email address. No*
apikey string Select the developer by API key. No*
*Either email or apikey must be defined.

Response

array|object — Success|failure of the call determined by the boolean success property.

Examples

A JSON-RPC Request

{
      "method": "developer.delete",
      "params": [{
            "spkey": "nzqz4xehpczjrgrjpgbwnskq",
            "where": {
                  "apikey": "6j3g9msume5w8bfu6tevcggv"
            }
      }]{
      "id": 12{
}

A JSON-RPC Response

{
      "result": {
            "success": true,
            }
      }]{
      "id": 12
}

Errors

This method may return one of the following errors:

Error Description
4102: Insufficient Privileges You do not have sufficient privileges to call this method.
400: Bad Request Your request was incomplete or otherwise invalid. Please review the documentation.
450: Spkey Not In Area The service requested does not exist in the area specified.
12: Validation Failed One or more values presented were not acceptable. Please review the documentation.
4006: Developer Invalid Where The 'where' property of your request was incomplete. The properties 'email' and/or 'apikey' must be specified to perform this operation.
4007: Developer Not Found Unable to find a developer matching the selection criteria.
4012: Delete Developer Failed Could not delete developer record.

Docs Navigation