---
title: "Admin Give Student Access to Offer"
method: PATCH
path: "/admins/students/{id}/offers/{offerId}"
tags: ["admins-students"]
---

# Admin Give Student Access to Offer

`PATCH /admins/students/{id}/offers/{offerId}`

admin give student access to offer

## Path parameters

- `id` string, required
- `offerId` string, required

## Request body

- V1ManageOfferPermissionInput
  - `available` boolean

## Response `200`

OK

- DomainStudent
  - `availableCourses` string[]
  - `availableModules` string[]
  - `availableOffers` string[]
  - `blocked` boolean
  - `email` string
  - `id` string
  - `lastVisitAt` string
  - `name` string
  - `password` string
  - `registeredAt` string
  - `schoolId` string
  - `session` DomainSession
    - `expiresAt` string
    - `refreshToken` string
  - `verification` DomainVerification
    - `code` string
    - `verified` boolean

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error
- `default` — Default response

## Changes

- **2021-07-13** `d2876630502b` — 1 info
  - endpoint added
- **2021-02-04** `0677335332a8` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/creatly/apis/creatly-api/changes/admins/students/:id/offers/:offerId/patch.md)

---

[API](https://skmtc.dev/creatly/apis/creatly-api.md) · [All operations](https://skmtc.dev/creatly/apis/creatly-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/creatly/creatly-api/revisions/513aaee36614/schema)
