# Profiles

Organization profiles are used to provide more context for an Issuer DID. Details about the issuer such as name and logo can be added using a organization profile. These details will be included in credentials that are issued by the DID.

## Create profile

The `did` and `name` fields are required to create a new Profile.

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/profiles" method="post" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}

## Get profile

When a DID is provided in the path, the API will retrieve the profile associated with that DID.

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/profiles/{did}" method="get" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}

## List profiles

Return a list of all profiles that your user account controls.

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/profiles" method="get" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}

## Update profile

The update profile operation means that you can update the details of the profile. To do so, you need to provide a different value for **at least** one of `name`, `description` or `logo`.

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/profiles/{did}" method="patch" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}

## Delete profile

Deletes a profile from our platform. It does NOT delete the associated DID, nor revoke the credentials issued for the profile.

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/profiles/{did}" method="delete" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.truvera.io/truvera-api/profiles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
