Elastic Kubernetes Service (EKS)

Delete an existing EKS job

Changed on

Deletes an EKS job from the specified cluster and namespace. Only the job owner can delete their jobs.

delete/api/containers/eks/job

Request

  • The document declares no server URL.
  • Auth
    socaAuth (a scheme the document does not define) and socaToken (a scheme the document does not define)

Headers

X-EDH-USERstring required

SOCA username for authentication

X-EDH-TOKENstring required

SOCA authentication token

Request body application/x-www-form-urlencoded

eks_clusterstring required

Name of the EKS cluster where the job is running

job_namestring required

Name of the job to delete

namespacestring

Kubernetes namespace where the job is located

Example request

{
  "eks_cluster": "my-soca-cluster",
  "job_name": "simulation-job-001",
  "namespace": "default"
}

Response

Job deleted successfully

successboolean required
messagestring required

Example response

{
  "success": true,
  "message": "Job 'simulation-job-001' deleted successfully."
}

Changes

    • info

      the endpoint scheme security socaAuth AND socaToken was added to the API

    • info

      the endpoint scheme security edhAuth AND edhToken was removed from the API

    • info

      the endpoint scheme security edhAuth AND edhToken was added to the API

    • info

      the endpoint scheme security socaAuth AND socaToken was removed from the API