---
agentTools:
  projectIndex: https://developers.northpass.com/llms.txt
---

# Retake a course

Retakes a course with the new course attempt.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "OpenAPI Specification",
    "version": "1.0.0"
  },
  "paths": {
    "/v2/courses/{course_uuid}/people/{person_uuid}/retakes": {
      "post": {
        "tags": [
          "Courses"
        ],
        "summary": "Retake a course",
        "description": "Retakes a course with the new course attempt.\n",
        "parameters": [
          {
            "name": "course_uuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "person_uuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "successful operation",
            "headers": {
              "Content-Type": {
                "x-example-value": "application/json; charset=utf-8",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "x-example-value": "no-cache",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                },
                "examples": {
                  "response": {
                    "value": {
                      "status": "accepted"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "when you don't have the necessary permissions",
            "headers": {
              "Content-Type": {
                "x-example-value": "application/json; charset=utf-8",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "x-example-value": "no-cache",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                },
                "examples": {
                  "response": {
                    "value": {
                      "errors": [
                        {
                          "status": "403",
                          "title": "Forbidden",
                          "detail": "You don't have necessary permissions for the resource",
                          "code": "api_error",
                          "source": {}
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "when the requested resource does not exist",
            "headers": {
              "Content-Type": {
                "x-example-value": "application/json; charset=utf-8",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "x-example-value": "no-cache",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                },
                "examples": {
                  "response": {
                    "value": {
                      "errors": [
                        {
                          "status": "404",
                          "title": "Not Found",
                          "detail": "The resource you requested does not exist",
                          "code": "api_error",
                          "source": {}
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": [
          {
            "X-Api-Key": []
          }
        ]
      }
    }
  },
  "tags": [
    {
      "name": "Courses"
    }
  ],
  "servers": [
    {
      "url": "https://api.northpass.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "X-Api-Key": {
        "type": "apiKey",
        "name": "X-Api-Key",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 94,
      "1": 131,
      "2": 105,
      "3": 179,
      "4": 156,
      "5": 162,
      "6": 182,
      "7": 0,
      "8": 57,
      "9": 227,
      "10": 168,
      "11": 70
    }
  }
}
```