Update Hook
PUT/api/v1/hooks/:hook_id
Check if hook with provided detail exists, if found update the details.
We only allow target_url
for update.
On successful update set hook status back to created to be verified later
Request
Responses
- 200
- 401
- 403
- 404
- 422
Successful Response
unauthorized
: Invalid or no credentials where supplied.
could_not_validate_credentials
: Could not validate credentials.
hook_not_found
: hook does not exist.
Validation Error