Configure the Task's HTTP endpoint
PUT/v1/tasks/:id/endpoint
Creates or updates. An omitted credential keeps the stored one as long as the auth type does not change. Avoid auth: params: the secret goes in the URL and ends up in proxy and CDN access logs; prefer bearer or header.
Request​
Responses​
- 200
- 401
- 403
- 404
- 409
- 422
- 503
OK
INVALID_TOKEN / INVALID_AUDIENCE / INVALID_ISSUER / TOKEN_EXPIRED / TOKEN_REVOKED / MTLS_REQUIRED
INSUFFICIENT_SCOPE (see above) or FEATURE_NOT_ENABLED — the operation is not enabled for the organization (the same permission that enables the screen in the console); details: { permission }.
NOT_FOUND
IDEMPOTENCY_KEY_REUSED / IDEMPOTENCY_REQUEST_IN_PROGRESS (or the route's CONFLICT)
INCOMPLETE_AUTH — credential missing for the chosen auth type
AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).