Skip to content

SDK delete protected domain #72

Description

@Jarek-Rolski

rAPId api delete protected domain request removes domain but returns error status code and inadequate response message.

url = f"https://rapid.c-af.org/api/protected_domains/{domain}"

response = requests.delete(
    url,
    headers=headers
)
data = json.loads(response.content.decode("utf-8"))

For above code requests response code is 400 and response message is {'details': 'Subject 6hqkf3fqro7v7d8qtlg4nej98v not found in database'}

I tested it twice for existing domain. The message returned was identical. Despite the message domains were deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    sdkPart of the sdk

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions