Skip to main content
POST
Subir una foto como avatar de un conductor

Authorizations

Authorization
string
header
required

Token de sesión Better Auth o API token (atk_...) en el header Authorization: Bearer <token>. Los JWT legacy ya no son válidos.

Path Parameters

id
string
required

ID del recurso

Body

multipart/form-data
file
file
required

Imagen JPG, PNG o WebP, hasta 1 MB.

Response

Foto guardada

status
string
Example:

"success"

data
object