# DELETE /users/{name}/cron/jobs/{id}

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the cron group.

Remove a job from a customer's crontab

- Who may call it: administrator, reseller, customer
- Token scope, any of: files, all
- Answers: 200 OK

UrbeStack removes the job immediately. Use the job ID returned by GET /users/{name}/cron. The API returns 400 if id is invalid or name identifies an administrator.

Customers can remove their own jobs, resellers can remove their customers' jobs, and administrators can remove any customer's jobs. The token must have the files scope.

## As a command

- [urbestack-cron-job-del](https://urbestack.com/docs/commands/urbestack-cron-job-del.md): Removes a job from a customer's crontab immediately.

## Parameters

- `name` (path, Username, required)
- `id` (path, string, matching ^[0-9a-f]{12}$, required)

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X DELETE "$API/users/alice/cron/jobs/1" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

The response body is the file itself.

## Errors

- 400: --id is required
- 400: --user is required
- 400: <name> is an administrator: administrators have no system account, so no cron jobs
- 400: Invalid job id
- 400: Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter
- 400: Username '<value>' is reserved
- 401: Authentication required
- 404: User '<user>' not found
