Skip to content

Remove a worker's profile image

DELETE
/v1/workers/{workerId}/image
curl --request DELETE \
--url https://api2.recruso.co.uk/v1/workers/1/image \
--header 'Authorization: <Authorization>'

Removes the profile photograph from a worker in your own agency, and deletes the stored image with it.

This is permanent. The record keeps no history and the image is gone from storage, so neither can be recovered.

A worker who has no profile image returns 404, as does a worker id belonging to another agency, so their existence is never disclosed.

Access. Requires a client-credentials access token. Tokens issued through the interactive user login are rejected.

workerId
required
integer format: int32

The workerId path parameter

No Content

Unauthorized

Media typeapplication/problem+json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Forbidden

Media typeapplication/problem+json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Not Found

Media typeapplication/problem+json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}