Actualizar la plantilla de la compañia
Endpoint
- Método: PUT
- Ruta:
/api/templates - URL ejemplo:
{{BASE_URL}}/api/templates
Descripción
Sin descripción en la colección de Postman.
Autenticación
- Tipo: Bearer Token
- Header:
Authorization: Bearer {{API_TOKEN}}
Headers
| Key | Value |
|---|---|
Authorization | Bearer {{API_TOKEN}} |
Cache-Control | no-cache |
Postman-Token | <calculated when request is sent> |
Host | <calculated when request is sent> |
User-Agent | PostmanRuntime/7.39.1 |
Accept | */* |
Accept-Encoding | gzip, deflate, br |
Connection | keep-alive |
Accept | application/json |
Content-type | application/json |
Body
{
"id": "2"
}
Ejemplo cURL
curl -X PUT "{{BASE_URL}}/api/templates" \
-H "Authorization: Bearer {{API_TOKEN}}" \
-H "Cache-Control: no-cache" \
-H "Postman-Token: <calculated when request is sent>" \
-H "Host: <calculated when request is sent>" \
-H "User-Agent: PostmanRuntime/7.39.1" \
-H "Accept: */*" \
-H "Accept-Encoding: gzip, deflate, br" \
-H "Connection: keep-alive" \
-H "Accept: application/json" \
-H "Content-type: application/json" \
-d "{\n \"id\": \"2\"\n}"