Delete relationship class by name and version

DELETE 

/v2/datasync/subkeys/:subKey/relationship-classes/:relationshipClass/versions/:relationshipClassVersion

Deletes one class version. Returns 409 with DS-0301 while live relationships use that version. Delete or migrate those relationships first; deleting an endpoint entity also removes its connected relationships. Deleted relationships, and relationships that expired more than a minute ago, do not prevent class deletion. This applies to every relationship class a subkey defines; Global classes such as Membership cannot be deleted (403).

Permissions: datasync:write on keyset

Request​

Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
Example
"Accept header value is not acceptable. Supported values are [application/json]"
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}