Api Keys

add apikey

POST https://ushahididocs.api.ushahidi.io/api/v3/apikeys

{
    "id": 5,
    "url": "http://localhost:8000/api/v3/apikey/5",
    "api_key": "fff2756f-ebec-4b56-8c3c-e1051f97da39",
    "created": "1970-01-01T00:00:00+00:00",
    "updated": null,
    "allowed_privileges": [
        "read",
        "create",
        "update",
        "delete",
        "search"
    ]
}

add apikey

PUT https://ushahididocs.api.ushahidi.io/api/v3/apikeys/2

{
    "id": 5,
    "url": "http://localhost:8000/api/v3/apikey/5",
    "api_key": "fff2756f-ebec-4b56-8c3c-e1051f97da39",
    "created": "1970-01-01T00:00:00+00:00",
    "updated": null,
    "allowed_privileges": [
        "read",
        "create",
        "update",
        "delete",
        "search"
    ]
}