Skip to main content
PUT
/
api
/
v1
/
courses
/
{courseId}
/
enrollments
/
{enrollmentId}
/
certificate
Atualizar certificado de inscrição
curl --request PUT \
  --url https://services.pref.rio/go/v1/api/v1/courses/{courseId}/enrollments/{enrollmentId}/certificate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "certificate_url": "<string>"
}'
{
  "certificate_url": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

courseId
integer
required

ID do curso

enrollmentId
string
required

UUID da inscrição

Body

application/json

URL do certificado

certificate_url
string

Response

OK

certificate_url
string
message
string